Opened 9 years ago
Closed 9 years ago
#15020 closed bug (fixed)
npm install from git master fails
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.11.1/2.1.1 |
Component: | build | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
npm install fails when run in git master: npm ERR! install Couldn't read dependencies npm ERR! Error: invalid version: 2.1.1pre
This issue can be solved locally by changing the version in package.json to 2.1.1-pre, the dash seems to be required.
I am building with node.js 0.10.15~dfsg1-4 and npm 1.2.18~dfsg-3.
Change History (4)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Component: | unfiled → build |
---|---|
Milestone: | None → 1.11.1/2.1.1 |
Priority: | undecided → low |
Status: | new → open |
Seems like a good idea to make master installable via npm, for testing. Now that we have jquery-release it seems unlikely we'd accidentally publish. Or if we did it would accidentally publish correctly.
comment:4 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Build: Update version from pre to -pre
Ref jquery/jquery-release#61 Fixes #15020 Closes gh-1561
Changeset: 4bd2830636350469a7e232e046f41e95383962a3
The invalid version number was intentional to prevent things like accidental publishing.