-
Notifications
You must be signed in to change notification settings - Fork 458
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
Refusing to install micro as a dependency of itself #83
Comments
Please remove micro and install it again. Since "micro" isn't defined as a dependency of itself, this error actually doesn't make any sense. Let me know if it's working now! 😊 Remember: |
$ mv /Users/work/nodejs/micro /Users/work/nodejs/micro-xyz |
@leo It worked. I removed the folder and reinstalled micro locally. Thanks. |
I had the same situation, it happens when you choose |
@fridays Why is that? I have not seen an error like this before. |
It's the case with every npm package, you can't install it when your project has the same name in |
43 verbose stack Error: Refusing to install micro as a dependency of itself
43 verbose stack at checkSelf (/usr/local/lib/node_modules/npm/lib/install/validate-args.js:53:14)
43 verbose stack at Array. (/usr/local/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8)
43 verbose stack at LOOP (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:15:14)
43 verbose stack at chain (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:20:5)
43 verbose stack at /usr/local/lib/node_modules/npm/lib/install/validate-args.js:16:5
43 verbose stack at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:35
43 verbose stack at Array.forEach (native)
43 verbose stack at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:11
43 verbose stack at Array.forEach (native)
43 verbose stack at asyncMap (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:51:8)
44 verbose cwd /Users/work/nodejs/micro
45 error Darwin 14.5.0
46 error argv "/usr/bin/node" "/usr/local/bin/npm" "install" "micro@6.0.1"
47 error node v6.4.0
48 error npm v3.10.3
49 error code ENOSELF
50 error Refusing to install micro as a dependency of itself
51 error If you need help, you may report this error at:
51 error https://github.com/npm/npm/issues
52 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: