engine.io-client icon indicating copy to clipboard operation
engine.io-client copied to clipboard

XMLHTTPRequest module is fetched from github rather then NPM

Open stefanpenner opened this issue 11 years ago • 35 comments

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

stefanpenner avatar Jul 17 '15 15:07 stefanpenner

:+1:

jeffshaver avatar Jul 17 '15 15:07 jeffshaver

Dupe of #348

bushong1 avatar Jul 17 '15 15:07 bushong1

And #358, and #384, and #402 :smile:

jskrzypek avatar Jul 19 '15 20:07 jskrzypek

Please fix this, its causing major headaches.

benjamind avatar Jul 31 '15 23:07 benjamind

@stefanpenner yeah this is still not working correctly. even the new version tries to fetch from github.

jeffshaver avatar Aug 01 '15 02:08 jeffshaver

:+1: We really need this

uglow avatar Aug 17 '15 00:08 uglow

Really an issue! Please fix this!

Eventually there is https://www.npmjs.com/package/xmlhttprequest such module, so this change can be very easy.

ichyr avatar Aug 18 '15 13:08 ichyr

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 avatar Aug 20 '15 04:08 uglow

@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.

jeffshaver avatar Aug 20 '15 13:08 jeffshaver

Adding another name to this request. Definitely a headache and unusable in our private npm repo.

@ichyr has the correct solution IMO.

smooney avatar Aug 25 '15 19:08 smooney

Looks like this is fixed, and just needs to be pushed to npm

ScottWeinstein avatar Sep 10 '15 20:09 ScottWeinstein

+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 avatar Sep 21 '15 15:09 richardbutler

@richardbutler well said.

bushong1 avatar Sep 21 '15 15:09 bushong1

yes, please. Add another vote here.

UnrememberMe avatar Sep 22 '15 01:09 UnrememberMe

Oh, here is the actual reason why builds are failing...

nkbt avatar Sep 25 '15 03:09 nkbt

+1

mdasberg avatar Sep 28 '15 07:09 mdasberg

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?

Den-dp avatar Oct 07 '15 15:10 Den-dp

+1

samu avatar Oct 09 '15 13:10 samu

+1

tsing80 avatar Oct 13 '15 05:10 tsing80

+1

lironess avatar Oct 13 '15 12:10 lironess