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

npm install fails on OSX #22

Open
sintaxi opened this issue Jun 30, 2015 · 1 comment
Open

npm install fails on OSX #22

sintaxi opened this issue Jun 30, 2015 · 1 comment

Comments

@sintaxi
Copy link
Member

sintaxi commented Jun 30, 2015

npm ERR! 404 404 Not Found: sindresorhus
npm ERR! 404
npm ERR! 404 'sindresorhus' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'mount-point'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.

npm ERR! System Darwin 13.4.0
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/sintaxi/Desktop/Projects/chloi.io
npm ERR! node -v v0.10.38
npm ERR! npm -v 1.4.28
npm ERR! code E404
npm ERR! not ok code 0
@sintaxi sintaxi changed the title cant npm install npm install fails on OSX Jun 30, 2015
@kennethormandy
Copy link
Contributor

The quick fix is to update npm:

npm install -g npm@2.x

Trash’s dependency’s dependency’s dependency is using a scoped module (@sindresorhus/df), which is why you are getting that error.

I am only using Trash to remove the test directory in Neat, which should actually either get fixed in Neat thoughtbot/neat#347 or when we properly support node_modules in Harp sintaxi/harp#312 sintaxi/harp#275.

kennethormandy added a commit that referenced this issue Jun 30, 2015
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

2 participants