Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

NPM install failing #113

Closed
andyearnshaw opened this issue Jun 23, 2015 · 0 comments
Closed

NPM install failing #113

andyearnshaw opened this issue Jun 23, 2015 · 0 comments

Comments

@andyearnshaw
Copy link
Owner

Just got the build working and now something else has broken. Travis was failing at NPM install, so I deleted my Node modules and tried it for myself. Definitely broken:

npm ERR! addLocal Could not install /var/folders/j5/6zhmyqn12js3n3z_bdg0hm_c0000gn/T/npm-60758-21108bca/git-cache-63811f9c722f/3bce55b6546f31ce0c62f4cf81f041e9e8606e42
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code EISDIR
npm ERR! errno -21

npm ERR! EISDIR, read
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Volumes/HOME/Users/andyearnshaw/Development/Intl.js/npm-debug.log

Listing the directories of that folder gave me:

$ ls /var/folders/j5/6zhmyqn12js3n3z_bdg0hm_c0000gn/T/npm-60758-21108bca/git-cache-63811f9c722f/3bce55b6546f31ce0c62f4cf81f041e9e8606e42
README.md   esprima.js

It looks like there's a package.json missing in the download. The only dependency for esprima I can find is grunt@0.4.5 > js-yaml@2.0.5 > esprima@1.0.4, but npm install grunt works fine 😕.

├─┬ grunt@0.4.5
│ ├── async@0.1.22
│ ├── coffee-script@1.3.3
│ ├── colors@0.6.2
│ ├── dateformat@1.0.2-1.2.3
│ ├── eventemitter2@0.4.14
│ ├── exit@0.1.2
│ ├─┬ findup-sync@0.1.3
│ │ ├─┬ glob@3.2.11
│ │ │ ├── inherits@2.0.1
│ │ │ └─┬ minimatch@0.3.0
│ │ │   ├── lru-cache@2.6.4
│ │ │   └── sigmund@1.0.1
│ │ └── lodash@2.4.2
│ ├── getobject@0.1.0
│ ├─┬ glob@3.1.21
│ │ ├── graceful-fs@1.2.3
│ │ └── inherits@1.0.0
│ ├─┬ grunt-legacy-log@0.1.2
│ │ ├── grunt-legacy-log-utils@0.1.1
│ │ ├── lodash@2.4.2
│ │ └── underscore.string@2.3.3
│ ├── grunt-legacy-util@0.2.0
│ ├── hooker@0.2.3
│ ├── iconv-lite@0.2.11
│ ├─┬ js-yaml@2.0.5
│ │ ├─┬ argparse@0.1.16
│ │ │ ├── underscore@1.7.0
│ │ │ └── underscore.string@2.4.0
│ │ └── esprima@1.0.4

The first failing build was the release tag for v1.0.0-rc-4, but there's no change to the package.json in this release. Also, this was based on a commit earlier than the passing builds, but subsequent builds based on those passing builds are also failing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant