npm / npm

This repository is moving to: https://github.com/npm/cli
http://npm.community
17.53k stars 3.02k forks source link

npm install error on 2.0.0-beta.0 #6071

Closed mgol closed 10 years ago

mgol commented 10 years ago

I get an error during npm install with npm 2.0.0-beta.0. Everything works fine with npm 1.4.26. I'm on OS X 10.9.4, fully updated. Git 2.1.0 (installed from Homebrew).

My package.json:

{
  "name": "polona-gui",
  "version": "0.0.0",
  "description": "Polona - National Library of Poland",
  "homepage": "http://polona.pl",
  "author": {
    "name": "Laboratorium EE",
    "url": "http://laboratorium.ee"
  },
  "repository": {
    "type": "git",
    "url": "ssh://git@defilada.laboratorium.ee:7999/polona/polona-gui.git"
  },
  "dependencies": {
    "angulartics": "0.16.5",
    "bootstrap": "3.2.0",
    "jquery": "2.1.1",
    "jquery-wheel": "0.1.0",
    "lodash": "2.4.1",
    "malakh": "0.10.0-beta.3",
    "ng-l20n": "0.1.2",
    "ng-tags-input": "EE/ngTagsInput#l20n",
    "typeahead.js": "0.10.5"
  },
  "devDependencies": {
    "bluebird": "2.3.2",
    "connect-modrewrite": "0.7.9",
    "findup-sync": "0.1.3",
    "gitignore-to-glob": "0.1.2",
    "grunt": "0.4.5",
    "grunt-angular-templates": "0.5.7",
    "grunt-autoprefixer": "1.0.1",
    "grunt-check-dependencies": "0.6.0",
    "grunt-contrib-clean": "0.6.0",
    "grunt-contrib-concat": "0.5.0",
    "grunt-contrib-connect": "0.8.0",
    "grunt-contrib-copy": "0.5.0",
    "grunt-contrib-htmlmin": "0.3.0",
    "grunt-contrib-jshint": "0.10.0",
    "grunt-contrib-sass": "0.8.1",
    "grunt-contrib-uglify": "0.5.1",
    "grunt-contrib-watch": "0.6.1",
    "grunt-csso": "0.6.3",
    "grunt-ddescribe-iit": "0.0.4",
    "grunt-defs": "0.7.1",
    "grunt-eslint": "1.0.0",
    "grunt-fontello": "0.1.3",
    "grunt-githooks": "0.3.1",
    "grunt-include-source": "0.4.1",
    "grunt-jscs": "0.7.0",
    "grunt-jsonlint": "1.0.4",
    "grunt-karma": "karma-runner/grunt-karma#79d0bdb",
    "grunt-merge-conflict": "0.0.2",
    "grunt-newer": "0.7.0",
    "grunt-ng-annotate": "0.3.2",
    "grunt-notify": "0.3.1",
    "grunt-npmcopy": "0.1.0",
    "grunt-rev": "0.1.0",
    "grunt-shell": "0.7.0",
    "grunt-usemin": "2.4.0",
    "grunth-cli": "0.2.7",
    "image-size": "0.3.2",
    "isbinaryfile": "2.0.1",
    "jit-grunt": "0.8.0",
    "jscs-trailing-comma": "0.3.0",
    "json5": "0.2.0",
    "karma": "0.12.23",
    "karma-chrome-launcher": "0.1.4",
    "karma-coverage": "0.2.6",
    "karma-firefox-launcher": "0.1.3",
    "karma-jasmine": "0.2.2",
    "karma-junit-reporter": "0.2.2",
    "karma-ng-json2js-preprocessor": "0.1.1",
    "l20n": "1.0.0-rc",
    "lodash": "2.4.1",
    "mime": "1.2.11",
    "protractor": "1.2.0-beta1",
    "randomstring": "1.0.3",
    "semver": "3.0.1",
    "time-grunt": "1.0.0"
  },
  "optionalDependencies": {
    "grunt-contrib-imagemin": "0.8.1",
    "grunt-inline-images": "0.0.6",
    "karma-browserstack-launcher": "0.1.1",
    "karma-safari-launcher": "0.1.1",
    "karma-sauce-launcher": "0.2.10"
  },
  "scripts": {
    "release": "npm install && grunth build",
    "release-sandbox": "npm install && grunth build:sandbox",
    "test": "grunth jenkins"
  },
  "engines": {
    "node": ">=0.10.28"
  },
  "engineStrict": true
}

Where can I paste npm-debug.log contents? It's huge, even pastebin doesn't seem to accept it.

timoxley commented 10 years ago

Can you please confirm this is still an issue with 2.0.0-beta.2?

timoxley commented 10 years ago

Just paste the debug.log contents in here.

mgol commented 10 years ago

I cannot paste it here, if they're too large for pastebin, they're also too large for here (I checked).

I'll check npm 2.0.0-beta.2.

EDIT: the errors appear on beta.2 as well.

EDIT: The npm-debug.log file is 1.6 MB large.

mgol commented 10 years ago

You can download the log file from here: https://dl.dropboxusercontent.com/u/10200888/logs/npm-debug-2.0.0-beta.0-polona.log.

EDIT: I moved the file to Dropbox.

kodecraft commented 10 years ago

+1 similar issues. log: https://dl.dropboxusercontent.com/u/55044827/npm-debug.log tried the brew version and also pkg from node website. both fail when simply trying: $ sudo npm install -g yo grunt-cli bower (my setup: osx 10.9.4, latest xcode commandline tool installed...using /usr/local/bin) -tks!

kodecraft commented 10 years ago

everything seems ok now: node v0.10.31, npm 2.0.0.beta.0, yo v1.2.1, grunt v0.1.13, bower v1.3.9 -- all from brew.

othiym23 commented 10 years ago

This is several versions behind, so closing – @mzgol, open a new ticket if this recurs with npm@2.0.0 or 1.4.28.