Comments (8)
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.
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.
Try sudo npm install appbuilder -g
.
from icenium-cli.
No luck. I've tried both with and without sudo
.
from icenium-cli.
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.
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.
Thanks, it worked!
from icenium-cli.
Great!
from icenium-cli.
Related Issues (20)
- appstore upload: Accept bundle ids? HOT 1
- NPM Install Fail HOT 7
- Can't install telerik appbuilder cli on Windows 7 HOT 2
- wrong typescript version in release... HOT 1
- OSX npm install appbuilder -g fails HOT 1
- Since they force me to update to the new appbuilder version.. it crash at the build HOT 2
- Windows - NPM Install - Fibers C++ runtime library error HOT 2
- Running appbuilder simulate fails if the index is not known
- Support access tokens HOT 3
- Installing via NPM [LINUX][NODE 5.6.0][NPM 3.6.0] HOT 4
- Could not start App in Simulator with CLI HOT 1
- Change the info message of $ appbuilder doctor HOT 1
- The server returned unexpected response: SyntaxError: Unexpected token < HOT 9
- graceful-fs v3.0.0 and before will fail on node releases >= v7.0. HOT 1
- Haven't you guys had enough problems with TypeScript node-fibers? HOT 3
- iOS 10 sim support
- Optionally Compile TypeScript
- Support for NativeScript 3.0 RC HOT 2
- cannot install appbuilder globally using npm install -g appbuilder in windows 7 system
- --save-to broken HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icenium-cli.