Created
May 18, 2012 22:19
-
-
Save aaronj1335/2727870 to your computer and use it in GitHub Desktop.
npm link issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [me@laptop:code/] $ cd A | |
| [me@laptop:code/A] $ npm link # this works as i expect (and want) | |
| [me@laptop:code/A] $ ll /usr/local/lib/node_modules | |
| ... | |
| lrwxr-xr-x 1 me admin 22 May 18 16:59 /usr/local/lib/node_modules/A -> /Users/me/code/A | |
| ... | |
| [me@laptop:code/A] $ cd ../B | |
| [me@laptop:code/B] $ cat package.json | |
| ... | |
| "dependencies": { | |
| "A": "0.0.x" | |
| } | |
| ... | |
| [me@laptop:code/B] $ npm install --link | |
| [me@laptop:code/B] $ ll ./node_modules # this also works as i expect | |
| ... | |
| lrwxr-xr-x 1 me admin 22 May 18 16:59 node_modules/A -> /usr/local/lib/node_modules/A | |
| ... | |
| [me@laptop:code/B] $ ll /usr/local/lib/node_modules # global link has been replaced with static install | |
| ... | |
| drwxr-xr-x 1 me admin 22 May 18 16:59 /usr/local/lib/node_modules/A | |
| ... |
Author
aaronj1335
commented
May 20, 2012
via email
will do, thanks!
…On May 19, 2012, at 8:20 AM, "Isaac Z. ***@***.*** wrote:
This looks like a bug. Please post it at https://github.com/isaacs/npm/issues
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/2727870
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment