matthew-andrews / isomorphic-fetch

Isomorphic WHATWG Fetch API, for Node & Browserify
MIT License
6.95k stars 289 forks source link

Error when installing locally #78

Closed olalonde closed 4 years ago

olalonde commented 8 years ago

Getting this error after a fresh clone and npm install:

$ npm install                            master
npm WARN deprecated graceful-fs@2.0.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated lodash@2.4.1: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
isomorphic-fetch@0.0.0 /Users/olalonde/code/isomorphic-fetch
├─┬ chai@1.10.0
│ ├── assertion-error@1.0.0
│ └─┬ deep-eql@0.1.3
│   └── type-detect@0.1.1
├── commander@2.2.0  extraneous
├── es6-promise@2.3.0
├─┬ jshint@2.9.1
│ ├─┬ cli@0.6.6
│ │ └─┬ glob@3.2.11
│ │   └── minimatch@0.3.0
│ ├─┬ console-browserify@1.1.0
│ │ └── date-now@0.1.4
│ ├── exit@0.1.2
│ ├─┬ htmlparser2@3.8.3
│ │ ├── domelementtype@1.3.0
│ │ ├── domhandler@2.3.0
│ │ ├─┬ domutils@1.5.1
│ │ │ └─┬ dom-serializer@0.1.0
│ │ │   ├── domelementtype@1.1.3
│ │ │   └── entities@1.1.1
│ │ ├── entities@1.0.0
│ │ └─┬ readable-stream@1.1.13
│ │   ├── core-util-is@1.0.2
│ │   ├── isarray@0.0.1
│ │   └── string_decoder@0.10.31
│ ├── lodash@3.7.0
│ ├─┬ minimatch@2.0.10
│ │ └─┬ brace-expansion@1.1.3
│ │   ├── balanced-match@0.3.0
│ │   └── concat-map@0.0.1
│ ├── shelljs@0.3.0
│ └── strip-json-comments@1.0.4
├── merge@1.1.2  extraneous
├─┬ mocha@2.4.5
│ ├── commander@2.3.0
│ ├─┬ debug@2.2.0
│ │ └── ms@0.7.1
│ ├── diff@1.4.0
│ ├── escape-string-regexp@1.0.2
│ ├─┬ glob@3.2.3
│ │ ├── graceful-fs@2.0.3
│ │ ├── inherits@2.0.1
│ │ └─┬ minimatch@0.2.14
│ │   ├── lru-cache@2.7.3
│ │   └── sigmund@1.0.1
│ ├── growl@1.8.1
│ ├─┬ jade@0.26.3
│ │ ├── commander@0.6.1
│ │ └── mkdirp@0.3.0
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ └── supports-color@1.2.0
├─┬ nock@0.56.0
│ ├─┬ debug@1.0.4
│ │ └── ms@0.6.2
│ ├── lodash@2.4.1
│ └── propagate@0.3.1
├─┬ node-fetch@1.3.3
│ └─┬ encoding@0.1.12
│   └── iconv-lite@0.4.13
├─┬ npm-prepublish@1.2.1
│ ├── denodeify@1.2.1
│ ├── jsonfile@2.2.3
│ ├── minimist@1.2.0
│ ├── semversionizer-comparison@0.2.0  (git://github.com/orangemug/semversionizer-comparison.git#ab8200fcc1d79cc19d4050b5475a75caf8614a09)
│ ├─┬ semversionizer-parser@0.2.0  (git://github.com/orangemug/semversionizer-parser.git#22b87a413f1e204f03550b0773b68124d2f9717d)
│ │ └── semver-spec@0.1.0  (git://github.com/orangemug/semver-spec.git#c8c3cac3ffff0829906b19ae62c54265a48ef4dd)
│ └─┬ winston@0.8.3
│   ├── async@0.2.10
│   ├── colors@0.6.2
│   ├── cycle@1.0.3
│   ├── eyes@0.1.8
│   ├── isstream@0.1.2
│   ├── pkginfo@0.3.1
│   └── stack-trace@0.0.9
└── whatwg-fetch@0.11.0

npm ERR! Darwin 15.0.0
npm ERR! argv "/Users/olalonde/.nvm/versions/node/v5.5.0/bin/node" "/Users/olalonde/.nvm/versions/node/v5.5.0/bin/npm" "install"
npm ERR! node v5.5.0
npm ERR! npm  v3.3.12
npm ERR! path /Users/olalonde/code/isomorphic-fetch/node_modules/editorconfig/bin\editorconfig
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/olalonde/code/isomorphic-fetch/node_modules/editorconfig/bin\editorconfig'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/olalonde/code/isomorphic-fetch/npm-debug.log

Getting the same error on the v2.2.1 tag.

olalonde commented 8 years ago

Issue seems to be caused by lintspaces-cli dependency.