-
Notifications
You must be signed in to change notification settings - Fork 37
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
npmd install (without -g) does not create symlinks to executables (from .bin) #72
Comments
It does this when it's a dev dependency, but really it would be good to always have this maybe? |
Hmm, not as far as I can tell... {
"devDependencies": {
"tape": "^2.1.0"
}
} $ npm install
$ ls -A node_modules/
.bin tape
$ rm -rf node_modules/
$ npmd install
$ ls -A node_modules/
tape |
Oh but it does if I explicitly do $ npmd install tape But surely |
so maybe the simplest/best solution is just to allways do it. |
but, yes |
I can confirm that it doesn’t on my machine. And I can confirm that
That would be great! 👍 Least astonishment. |
If you do
npm install browserify
it will add a symlink to the.bin
folder:But if you do the same with
npmd
then you don't get a symlink in the.bin
folder.(This might not be a common use-case since most people will use
-g
to install executables.)This may be related to #31 which mentions compiling.
Would it be possible for(I guessnpmd
to download the package to its cache (if not already there), and then asknpm
to perform the actual install from that downloaded package?npmd
cannot work this way becausenpm
would try to handle dependencies itself, and we wantnpmd
to handle dependencies.)The text was updated successfully, but these errors were encountered: