Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when generating new app #1091

Closed
sushantsraikar opened this issue Aug 5, 2015 · 6 comments
Closed

Error when generating new app #1091

sushantsraikar opened this issue Aug 5, 2015 · 6 comments

Comments

@sushantsraikar
Copy link

$ mix phoenix.server
.
.
.

[error] Could not start node watcher because script "node_modules/brunch/bin/brunch" does not exist. Please make sure it has been installed by running: npm install

$ npm install
npm WARN package.json @ No license field.

fsevents@0.3.7 install /Users/sushantraikar/projects/phoenix/rud/node_modules/brunch/node_modules/chokidar/node_modules/fsevents
node-gyp rebuild

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

SOLINK_MODULE(target) Release/.node
SOLINK_MODULE(target) Release/.node: Finished
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
SOLINK_MODULE(target) Release/fse.node: Finished
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1

npm ERR! failed to fetch from registry: https://registry.npmjs.org/ansi-color
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:

npm ERR! /Users/sushantraikar/projects/phoenix/rud/npm-debug.log

@josevalim
Copy link
Member

Please upgrade both npm and node and try again. Locally I have:

~/OSS/phoenix[master]$ node -v
v0.12.6
~/OSS/phoenix[master]$ npm -v
2.12.1

@josevalim
Copy link
Member

Actually, I am getting the same error. Something may have been messed up in npm registry.

@josevalim josevalim reopened this Aug 5, 2015
@sushantsraikar
Copy link
Author

hey @josevalim,
upgrading doesn't help
$node -v
v0.12.7
$ npm -v
2.11.3

same error.

@josevalim
Copy link
Member

Yes, it is a bug in NPM: npm/npm#9168

Sorry for the inconvenience. :(

@paulmillr
Copy link

Fixed.

@josevalim
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants