Skip to content

Commit

Permalink
fixed dependencies behind corporate proxy server
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Eder committed Mar 9, 2016
1 parent c368fc4 commit 79ef3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"async": "^1.5.2",
"connect": "^3.4.0",
"connect-livereload": "^0.5.0",
"http2": "git://github.com/gruntjs/node-http2#fix-return-value",
"http2": "https://github.com/gruntjs/node-http2#fix-return-value",
"morgan": "^1.6.1",
"opn": "^4.0.0",
"portscanner": "^1.0.0",
Expand Down

1 comment on commit 79ef3c2

@JoniJnm
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In npm 1.3.10 over https fails:

jnunez@pc:/temp$ npm install https://github.com/gruntjs/node-http2#fix-return-value
npm http GET https://github.com/gruntjs/node-http2#fix-return-value
npm http 200 https://github.com/gruntjs/node-http2#fix-return-value
npm ERR! not a package /home/jnunez/tmp/npm-27331-JJtDpZVe/1460368386336-0.4648268148303032/tmp.tgz
npm ERR! Error: ENOENT, open '/home/jnunez/tmp/npm-27331-JJtDpZVe/1460368386336-0.4648268148303032/package/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 3.16.0-70-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "https://github.com/gruntjs/node-http2#fix-return-value"
npm ERR! cwd /var/www/html/summernote
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/jnunez/tmp/npm-27331-JJtDpZVe/1460368386336-0.4648268148303032/package/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /var/www/html/summernote/npm-debug.log
npm ERR! not ok code 0

Works with git protocol

jnunez@pc:/temp$ npm install git+https://github.com/gruntjs/node-http2#fix-return-value
npm WARN engine http2@3.3.2: wanted: {"node":">=0.12.0"} (current: {"node":"v0.10.25","npm":"1.3.10"})
http2@3.3.2 node_modules/http2

Should it be: git+https://github.com/gruntjs/node-http2#fix-return-value?

Please sign in to comment.