XMLHTTPRequest module is fetched from github rather then NPM
https://github.com/socketio/engine.io-client/blob/master/package.json#L38
For users without access to github (those with internal private NPM mirrors, but not github access) this causes some grief.
A related issue: https://github.com/ember-cli/ember-cli/issues/4328
Is it possible for us to get a release, where XMLHTTPRequest is either:
- added as a bundleDependency – so users will just get it as part of the engine.io-client tarbal from npm
- published as npm module
:+1:
Dupe of #348
And #358, and #384, and #402 :smile:
Please fix this, its causing major headaches.
@stefanpenner yeah this is still not working correctly. even the new version tries to fetch from github.
:+1: We really need this
Really an issue! Please fix this!
Eventually there is https://www.npmjs.com/package/xmlhttprequest such module, so this change can be very easy.
FWIW, we upgraded Node from version 0.11.something to version 0.12.7. When NPM (the one bundled with Node 0.12.7) is resolving dependencies and sees "xmlhttprequest": "https://github.com/rase-/node-XMLHttpRequest/archive/a6b6f2.tar.gz", it NOW uses NPM's HTTPS_PROXY setting to request the file. Version 11.x was not using NPM's HTTPS_PROXY setting.
TL;DR: Try upgrading to Node 0.12.7.
Thanks to @irgeek for working through this.
@uglow Sadly, this isn't an option for us. The environment that I am in is fairly restrictive and there isn't an easy upgrade path.
Adding another name to this request. Definitely a headache and unusable in our private npm repo.
@ichyr has the correct solution IMO.
Looks like this is fixed, and just needs to be pushed to npm
+1,000,000
Anyone stuck behind a proxy is stuck with [email protected], no webpack-dev-server, etc, etc. This has knock-on effects. Please publish this to NPM and then bump socket.io to 1.3.8 to point to [email protected], this will pull the rod out from so many arses. Thanks!
@richardbutler well said.
yes, please. Add another vote here.
Oh, here is the actual reason why builds are failing...
+1
Looks like the appropriate fixes are already present in the master branch https://github.com/socketio/engine.io-client/commit/e700bd28f9f33042b7876a6bfe5311670c5eecd2
Can we npm publish, please?
+1
+1
+1