Bug Tracker

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:


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 scottgonzalez

The invalid version number was intentional to prevent things like accidental publishing.

comment:2 Changed 9 years ago by dmethvin

Component: unfiledbuild
Milestone: None1.11.1/2.1.1
Priority: undecidedlow
Status: newopen

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 Scott González

Resolution: fixed
Status: openclosed

Build: Update version from pre to -pre

Ref jquery/jquery-release#61 Fixes #15020 Closes gh-1561

Changeset: 4bd2830636350469a7e232e046f41e95383962a3

Note: See TracTickets for help on using tickets.