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

npm link broken on windows with node 4 #9505

Closed
jon-hall opened this issue Sep 6, 2015 · 4 comments
Closed

npm link broken on windows with node 4 #9505

jon-hall opened this issue Sep 6, 2015 · 4 comments
Milestone

Comments

@jon-hall
Copy link
Contributor

jon-hall commented Sep 6, 2015

Using npm 3.3.2, after updating to node v4.0.0-rc.1, 'npm link' throws an error on Windows complaining that the node version is pre-0.7.9.

@jnfingerle
Copy link

Since this is a real world problem that happens to be a hassle for me: Is there any way I could help to work on this bug?

@othiym23
Copy link
Contributor

othiym23 commented Sep 8, 2015

As soon as Node 4.0.0 is released (which should be imminent), this problem will go away. The underlying issue is that semver range matching doesn't include prerelease versions like 4.0.0-rc.1. We're still discussing how to deal with this inside npm, because it definitely makes Node RCs and nightlies less useful than they should be.

@jnfingerle
Copy link

You're right, the problem has disappeared for me with 4.0.0. That said, being able to test against future prerelease versions would be of much help for my team.

iarna pushed a commit that referenced this issue Sep 10, 2015
@iarna iarna added this to the 3.x-next milestone Sep 10, 2015
zkat pushed a commit that referenced this issue Sep 11, 2015
(provided they are newer than 0.7.9)

PR-URL: #9506
Fixes: #9505
@othiym23
Copy link
Contributor

This is fixed in 6665e54 and c4dd521 for npm@3 and npm@2 respectively. Thanks for filing this!

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

No branches or pull requests

4 participants