Bug Tracker

Ticket #15020 (closed bug: fixed)

Opened 6 months ago

Last modified 6 months ago

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:
Blocking: Blocked by:

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

comment:1 Changed 6 months ago by scott.gonzalez

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

comment:2 Changed 6 months ago by dmethvin

  • Priority changed from undecided to low
  • Status changed from new to open
  • Component changed from unfiled to build
  • Milestone changed from None to 1.11.1/2.1.1

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 6 months ago by Scott González

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

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.