This repository has been archived by the owner. It is now read-only.

Error: npm link not supported on windows #1845

Closed
keichii opened this Issue Dec 7, 2011 · 8 comments

Comments

Projects
None yet
8 participants
@keichii

keichii commented Dec 7, 2011

C:\nodejs\jsdom>..\npm link -g
npm ERR! Error: npm link not supported on windows
npm ERR! at EventEmitter.link (C:\nodejs\node_modules\npm\lib\link.js:33:13)
npm ERR! at Object. (C:\nodejs\node_modules\npm\lib\npm.js:190:11)
npm ERR! at EventEmitter. (C:\nodejs\node_modules\npm\bin\npm-cli.js:77:27)
npm ERR! at Array.0 (native)
npm ERR! at EventEmitter._tickCallback (node.js:192:40)
npm ERR! Report this entire log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com
npm ERR!
npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\nodejs\node.exe" "C:\nodejs\node_modules\npm\bin\npm-cli.js" "link" "-g"
npm ERR! cwd C:\nodejs\jsdom
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.0.106
npm ERR! code ENOTSUP
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\nodejs\jsdom\npm-debug.log
npm not ok

@DukeyToo

This comment has been minimized.

Show comment
Hide comment
@DukeyToo

DukeyToo Dec 22, 2011

+1, this is annoying - it makes Windows a less practical platform for developing node packages. Encountered on npm version 1.1.0-alpha-6

DukeyToo commented Dec 22, 2011

+1, this is annoying - it makes Windows a less practical platform for developing node packages. Encountered on npm version 1.1.0-alpha-6

@Fauntleroy

This comment has been minimized.

Show comment
Hide comment
@Fauntleroy

Fauntleroy Feb 11, 2012

It's most definitely possible to symlink folders in Windows. Why isn't this compatible?

Fauntleroy commented Feb 11, 2012

It's most definitely possible to symlink folders in Windows. Why isn't this compatible?

@TooTallNate

This comment has been minimized.

Show comment
Hide comment
@TooTallNate

TooTallNate Feb 11, 2012

Contributor

@Fauntleroy Someone correct me if I'm wrong, but I believe Windows XP has no symlink support and Vista and 7 require root privileges to create one.

Contributor

TooTallNate commented Feb 11, 2012

@Fauntleroy Someone correct me if I'm wrong, but I believe Windows XP has no symlink support and Vista and 7 require root privileges to create one.

@Fauntleroy

This comment has been minimized.

Show comment
Hide comment
@Fauntleroy

Fauntleroy Feb 11, 2012

XP does not have symlink support, Win 7 and Vista do (if you're an administrator, or run cmd as an administrator). It would be better to attempt to symlink in Win 7/Vista than to not try at all--I'm fine with the caveat of running cmd as an admin.

Fauntleroy commented Feb 11, 2012

XP does not have symlink support, Win 7 and Vista do (if you're an administrator, or run cmd as an administrator). It would be better to attempt to symlink in Win 7/Vista than to not try at all--I'm fine with the caveat of running cmd as an admin.

@chowey

This comment has been minimized.

Show comment
Hide comment
@chowey

chowey Feb 11, 2012

I agree with this. An error message saying "Link requires administrative privileges" would be totally fine. And I would find link to be useful for developing modules locally that depend on eachother.

chowey commented Feb 11, 2012

I agree with this. An error message saying "Link requires administrative privileges" would be totally fine. And I would find link to be useful for developing modules locally that depend on eachother.

@ralt

This comment has been minimized.

Show comment
Hide comment
@ralt

ralt Mar 9, 2013

Contributor

It looks like windows support is present in today's code. Should this be confirmed or can the issue be closed?

Contributor

ralt commented Mar 9, 2013

It looks like windows support is present in today's code. Should this be confirmed or can the issue be closed?

@luk-

This comment has been minimized.

Show comment
Hide comment
@luk-

luk- Mar 9, 2013

Contributor

I havent used a windows computer for like 6 years but @domenic is a huge windows fan, he can probably speak for it

Contributor

luk- commented Mar 9, 2013

I havent used a windows computer for like 6 years but @domenic is a huge windows fan, he can probably speak for it

@isaacs

This comment has been minimized.

Show comment
Hide comment
@isaacs

isaacs Mar 9, 2013

Member

Yes, this has been around for a while.

@ralt thank you for checking and alerting these old issues. It's a good service :)

Member

isaacs commented Mar 9, 2013

Yes, this has been around for a while.

@ralt thank you for checking and alerting these old issues. It's a good service :)

@isaacs isaacs closed this Mar 9, 2013

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