Bug Tracker


Opened 3 years ago

Closed 3 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 3 years ago by scottgonzalez

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

comment:2 Changed 3 years ago by dmethvin

  • Component changed from unfiled to build
  • Milestone changed from None to 1.11.1/2.1.1
  • Priority changed from undecided to low
  • Status changed from new to 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 3 years ago by Scott González

  • Resolution set to fixed
  • Status changed from open to closed

Build: Update version from pre to -pre

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

Changeset: 4bd2830636350469a7e232e046f41e95383962a3

Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Modify Ticket

Change Properties

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.