TooTallNate / node-proxy-agent

Maps proxy protocols to `http.Agent` implementations
285 stars 69 forks source link

npm install issues #7

Closed cristiandouce closed 9 years ago

cristiandouce commented 9 years ago

So, whenever I run npm install proxy-agent I get this error:

Cristians-MacBook-Pro:test cristiandouce$ npm i --production proxy-agent
npm WARN package.json test@ No description
npm WARN package.json test@ No repository field.
npm WARN package.json test@ No README data
npm WARN package.json test@ No license field.
npm ERR! addLocal Could not install /var/folders/tb/90xr04011rj3tb611whxl5w40000gn/T/npm-31105-716351e0/git-cache-6e4850550a40/734ff0028274ab4254d2c06e67efbf2dceaf2b72
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "i" "--production" "proxy-agent"
npm ERR! node v0.12.4
npm ERR! npm  v2.10.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!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/cristiandouce/Work/apps/test/npm-debug.log

I've not been able to install any dependency using proxy-agent (some versions of cogent for instance) because of this issue:

Using:

{ npm: '2.10.1',
  http_parser: '2.3',
  modules: '14',
  node: '0.12.4',
  openssl: '1.0.1m',
  uv: '1.5.0',
  v8: '3.28.71.19',
  zlib: '1.2.8' }

From a Macbook Pro retina 13''

I think there must be some broken dependency. But because of the recursive requires between this module and pac-proxy-agent I've surrender to requesting for help! :dancers:

cristiandouce commented 9 years ago

@timaschew I've narrowed to find the issue here: https://github.com/ariya/esprima/tree/harmony

There is some dependency that depends directly on this branch, which no longer has a package.json

From the log I think it's the escodegen dependency used from degenerator if I got it right.

cristiandouce commented 9 years ago

:boom: @bojand found it! Kudos!