Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

NPM Link can't create a link on a mapped drive folder. #12835

Closed
Jackbennett opened this issue May 25, 2016 · 2 comments
Closed

NPM Link can't create a link on a mapped drive folder. #12835

Jackbennett opened this issue May 25, 2016 · 2 comments

Comments

@Jackbennett
Copy link

Hi, I didn't see a similar issue so just making a new one. I don't know if this can be fixed.

npm link
npm WARN announce@0.1.0 No repository field.
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\jbennett\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "link"
npm ERR! node v4.4.3
npm ERR! npm  v3.9.2
npm ERR! path C:\Users\jbennett\AppData\Roaming\npm\node_modules\announce\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\jbennett\AppData\Roaming\npm\node_modules\announce\package.json'
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\jbennett\AppData\Roaming\npm\node_modules\announce\package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     N:\Documents\src\project-discovery\announce\npm-debug.log

Can't seem to use link from N:\Documents\src\project-discovery\announce\ N:\ being mapped to a network share. If I copy these things to c:/temp it all works fine. The above is from an administrator prompt. I see a shotcut created at C:\Users\jbennett.BHS\AppData\Roaming\npm\node_modules but clicking it has this error;
image

W10 x64, node 4.4.3 the npm that ships with and also 3.9.2.

@jordwalke
Copy link

Where are the limitations of windows symlinking (either via npm link or bin-link) clearly documented in npm's docs? I read through all of the and couldn't find anything that indicated my code wouldn't work on windows. It seems this is something people should be abundantly aware of when developing packages.

@npm-robot
Copy link

We're closing this issue as it has gone seven days without activity and without being labeled. If we haven't even labeled in issue in seven days then we're unlikely to ever read it.

If you are still experiencing the issue that led to you opening this or this is a feature request you're still interested in then we encourage you to open a new issue. If this was a support issue, you may be better served by joining package.communty and asking your question there.

For more information about our new issue aging policies and why we've instituted them please see our blog post.

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

No branches or pull requests

3 participants