Giter Site home page Giter Site logo

Comments (6)

DerekBurch avatar DerekBurch commented on May 28, 2024

It looks like you have node version 0.6.14 and we require at least version 0.8. Upgrading your nodejs install should fix the problem. Let us know if you run into any other issues.

from devkit.

martinchooooooo avatar martinchooooooo commented on May 28, 2024

Ahh my mistake. I upgraded to v8.0.12, re-ran and got a different error this time

npm ERR! addPlacedTarball Could not remove "/Users/martin/.npm/async/0.1.22/package"
npm ERR! Error: EACCES, rmdir '/Users/martin/.npm/async/0.1.22/package'
npm ERR!  { [Error: EACCES, rmdir '/Users/martin/.npm/async/0.1.22/package']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/Users/martin/.npm/async/0.1.22/package' }
npm ERR! 
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Darwin 11.4.2
npm ERR! command "node" "/usr/local/bin/npm" "link" "--local"
npm ERR! cwd /Users/martin/prog/gameClosure/devkit
npm ERR! node -v v0.8.12
npm ERR! npm -v 1.1.63
npm ERR! path /Users/martin/.npm/async/0.1.22/package
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, rmdir '/Users/martin/.npm/async/0.1.22/package'

So i re-ran it as sudo and it all worked fine.

Re-ran ./install.sh, got the access problem, did the chown, ran again and it seemed all good, with the nice message " Successfully installed. Type "basil" to begin."

There was only one last error though

Warning: You should add /usr/local/share/npm/bin/ to your PATH

[checkVersions]    checking for tealeaf-build-tools 0.2.1
[checkVersions]    fetching tealeaf-build-tools

ERROR Error: EACCES, open '/Users/martin/prog/gameClosure/devkit/lib/tealeaf-build-tools-0.2.1.jar.tmp'

Something I should address?

from devkit.

martinchooooooo avatar martinchooooooo commented on May 28, 2024

Sorry, also forgot to mention that I get an error when running basil

➜  devkit git:(master) ✗        basil
     [basil]    [error]  Error initializing basil:
{ [Error: ENOENT, readdir '/Users/martin/prog/gameClosure/devkit/addons']
  errno: 34,
  code: 'ENOENT',
  path: '/Users/martin/prog/gameClosure/devkit/addons' }

from devkit.

DerekBurch avatar DerekBurch commented on May 28, 2024

Did you use sudo when running install.sh? Its important to not run the install script as root because then you can only run basil using sudo. One suggestion may be to delete your devkit folder and try recloning the devkit repo and running ./install.sh without sudo (This should work if you use the chown command provided in the guides). Recloning will also hopefully fix the ENOENT error (if not creating an empty addons folder inside of devkit should fix it).

from devkit.

martinchooooooo avatar martinchooooooo commented on May 28, 2024

You're right, I did run it as root. I deleted my devKit dir and started again - everything went just fine.

Thanks for all your help =D

from devkit.

jaredpetker avatar jaredpetker commented on May 28, 2024

Marking as closed.

from devkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.