Skip to main content

Bug Tracker

Side navigation

#15020 closed bug (fixed)

Opened April 17, 2014 05:54AM UTC

Closed April 17, 2014 07:16PM UTC

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.

Attachments (0)
Change History (4)

Changed April 17, 2014 12:10PM UTC by scottgonzalez comment:1

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

Changed April 17, 2014 01:42PM UTC by dmethvin comment:2

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.

Changed April 17, 2014 06:45PM UTC by scottgonzalez comment:3

Changed April 17, 2014 07:16PM UTC by Scott González comment:4

resolution: → fixed
status: openclosed

Build: Update version from pre to -pre

Ref jquery/jquery-release#61

Fixes #15020

Closes gh-1561

Changeset: 4bd2830636350469a7e232e046f41e95383962a3