GithubHelp home page GithubHelp logo

NPM Install Fail about icenium-cli HOT 8 CLOSED

icenium avatar icenium commented on July 17, 2024
NPM Install Fail

from icenium-cli.

Comments (8)

tailsu avatar tailsu commented on July 17, 2024

How did you install node? Downloaded the .pkg from nodejs.org? Homebrew? NVM?
The error you see is likely due to issues with file permissions.

from icenium-cli.

micahbolen avatar micahbolen commented on July 17, 2024

I downloaded the .pkg from nodejs.org. I now have v0.10.26. Yeah, not sure if and/or how I should chmod any files/dirs.

from icenium-cli.

tailsu avatar tailsu commented on July 17, 2024

Try sudo npm install appbuilder -g.

from icenium-cli.

micahbolen avatar micahbolen commented on July 17, 2024

No luck. I've tried both with and without sudo.

from icenium-cli.

micahbolen avatar micahbolen commented on July 17, 2024

Looking deeper into the install output, I found this:

> node ./build.js

gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/micahbolen/.node-gyp/0.10.26"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/appbuilder/node_modules/ref/.node-gyp"
gyp http GET http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz
gyp http 200 http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to     select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
Error: /usr/bin/xcode-select returned unexpected error.

gyp ERR! build error 
gyp ERR! stack Error: not found: make
gyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:43:28)
gyp ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:46:29)
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:57:16
gyp ERR! stack     at Object.oncomplete (fs.js:107:15)
gyp ERR! System Darwin 11.4.2
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/appbuilder/node_modules/ref
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok 
Build failed

from icenium-cli.

tailsu avatar tailsu commented on July 17, 2024

I think that it's probably best to ditch the .pkg altogether - way too many permission problems. Use the steps from http://stackoverflow.com/questions/9044788/how-do-i-uninstall-nodejs-installed-from-pkg-mac-os-x to remove the .pkg. Then install Homebrew from http://brew.sh/ and finally install node using brew install node. Then you should have zero problems installing appbuilder; no sudo will be necessary.

from icenium-cli.

micahbolen avatar micahbolen commented on July 17, 2024

Thanks, it worked!

from icenium-cli.

tailsu avatar tailsu commented on July 17, 2024

Great!

from icenium-cli.

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.