npm cannot install uglify-js: npm ERR! error installing uglify-js@2.2.5 npm / ERR! Error: No compatible version found: source-map@'>=0.1.7- <0.2.0-'

Bug #1154148 reported by Jonny Best
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
npm (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi.

I'm sorry if this goes to the wrong people, but npm told me to submit this bug with reportbug. reportbug told me to use ubuntu-bug and now here I am.

The error line was:
npm ERR! error installing uglify-js@2.2.5
npm ERR! Error: No compatible version found: source-map@'>=0.1.7- <0.2.0-'

Frankly, I have no idea what went wrong. Hope you can make sense of it and forward it to the right people.

Kind regards,
Jonny

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: npm 1.1.4~dfsg-1
ProcVersionSignature: Ubuntu 3.2.0-38.61-generic 3.2.37
Uname: Linux 3.2.0-38-generic i686
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: i386
Date: Tue Mar 12 16:15:45 2013
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release i386 (20110720.1)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: npm
UpgradeStatus: Upgraded to precise on 2012-10-01 (161 days ago)

Revision history for this message
Jonny Best (jonathan-best) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in npm (Ubuntu):
status: New → Confirmed
Revision history for this message
telman shahbazov (shahbazov) wrote :
Download full text (6.0 KiB)

I have the same issue on amazon Ubuntu 12.10 instance
but no problem with my Desktop ubuntu12.10

my desktop 12.10 kernel is currently
Linux telman 3.5.0-25-generic #39-Ubuntu SMP Mon Feb 25 18:26:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

logs from amazaon ubnutu12.12 instance is below

I try to use nodejs with express framework

ubuntu@domU-12-31-39-0A-9D-6B:~$ express test

   create : test
   create : test/package.json
   create : test/app.js
   create : test/public
   create : test/public/javascripts
   create : test/public/images
   create : test/public/stylesheets
   create : test/public/stylesheets/style.css
   create : test/routes
   create : test/routes/index.js
   create : test/routes/user.js
   create : test/views
   create : test/views/layout.jade
   create : test/views/index.jade

   install dependencies:
     $ cd test && npm install

   run the app:
     $ node app

ubuntu@domU-12-31-39-0A-9D-6B:~$
ubuntu@domU-12-31-39-0A-9D-6B:~$ cd test && npm install
npm http GET https://registry.npmjs.org/express/3.2.0
npm http GET https://registry.npmjs.org/jade
npm http 304 https://registry.npmjs.org/jade
npm http 304 https://registry.npmjs.org/express/3.2.0
npm http GET https://registry.npmjs.org/cookie/0.0.5
npm http GET https://registry.npmjs.org/buffer-crc32
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/fresh/0.1.0
npm http GET https://registry.npmjs.org/methods/0.0.1
npm http GET https://registry.npmjs.org/send/0.1.0
npm http GET https://registry.npmjs.org/cookie-signature/1.0.1
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/connect/2.7.6
npm http GET https://registry.npmjs.org/commander/0.6.1
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/transformers
npm http GET https://registry.npmjs.org/monocle
npm http GET https://registry.npmjs.org/character-parser
npm http 304 https://registry.npmjs.org/buffer-crc32
npm http 304 https://registry.npmjs.org/fresh/0.1.0
npm http 304 https://registry.npmjs.org/cookie/0.0.5
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/methods/0.0.1
npm http 304 https://registry.npmjs.org/send/0.1.0
npm http 304 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/cookie-signature/1.0.1
npm http 304 https://registry.npmjs.org/connect/2.7.6
npm http 304 https://registry.npmjs.org/commander/0.6.1
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/range-parser/0.0.4
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/monocle
npm http 304 https://registry.npmjs.org/transformers
npm http GET https://registry.npmjs.org/mime/1.2.6
npm http GET https://registry.npmjs.org/qs/0.5.1
npm http GET https://registry.npmjs.org/formidable/1.0.11
npm http GET https://registry.npmjs.org/buffer-crc32/0.1.1
npm http GET https://registry.npmjs.org/bytes/0.2.0
npm http GET https://registry.npmjs.org/pause/0.0.1
npm http 304 https://registry.npmjs.org/character-parser
npm htt...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.