This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Proxy error after upgrading to Node 10.16.0 #2697
Comments
Sounds like a node or system issue. Nothing to do with node-sass.
…On Wed., 19 Jun. 2019, 11:07 am Jeoffrey B., ***@***.***> wrote:
Hi there,
-
NPM version (npm -v): 6.9.0
-
Node version (node -v): v10.16.0
-
Node Process (node -p process.versions): { http_parser: '2.8.0',
node: '10.16.0',
v8: '6.8.275.32-node.52',
uv: '1.28.0',
zlib: '1.2.11',
brotli: '1.0.7',
ares: '1.15.0',
modules: '64',
nghttp2: '1.34.0',
napi: '4',
openssl: '1.1.1b',
icu: '64.2',
unicode: '12.1',
cldr: '35.1',
tz: '2019a' }
-
Node Platform (node -p process.platform): linux
-
Node architecture (node -p process.arch): x64
We are behing a corporate proxy.
My npmrc :
$ cat ~/.npmrc
proxy=http://10.2.223.24:3128/
https-proxy=http://10.2.223.24:3128/ <http://10.2.223.24:3128/https-proxy=http://10.2.223.24:3128/>
I have no issue downloading packages. But after upgrading from 10.15.1 to
10.16.0, node-sass doesn't use proxy anymore :
`Cannot download "
https://github.com/sass/node-sass/releases/download/v4.11.0/linux-x64-64_binding.node
":
ETIMEDOUT
Timed out attemping to establish a remote connection
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
`
Rollbacking to 10.15.0 and everything is working again...
Looks like node-sass is not using my npmrc anymore. But if I'm setting
manually the proxy, it's working with node 10.16 :
$ HTTP_PROXY=http://10.2.223.24:3128/ npm ci
npm WARN prepare removing existing node_modules/ before installation
> ***@***.*** install front/node_modules/fsevents
> node install
> ***@***.*** install front/node_modules/husky
> node husky install
husky > setting up git hooks
husky > done
> ***@***.*** install front/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.11.0/linux-x64-64_binding.node
Download complete
Binary saved to front/node_modules/node-sass/vendor/linux-x64-64/binding.node
> ***@***.*** postinstall front/node_modules/node-sass
> node scripts/build.js
Binary found at front/node_modules/node-sass/vendor/linux-x64-64/binding.node
Testing binary
Binary is fine
added 1384 packages in 18.553s
Regards,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2697?email_source=notifications&email_token=AAENSWCG2PQBW4BOHS522Q3P3HZMHA5CNFSM4HZHOT4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2K47MA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAENSWCSALAOZFAVEJXRUPTP3HZMHANCNFSM4HZHOT4A>
.
|
It happens only with node-sass... |
I don't know what to say. This code hasn't changed in a long time. Could
any number of things from the request library, to network issues talking to
our binary host. Either way there is nothing we can do.
…On Wed., 19 Jun. 2019, 11:10 am Jeoffrey B., ***@***.***> wrote:
It happens only with node-sass...
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#2697?email_source=notifications&email_token=AAENSWFTGOUQW4TIEQLXSLDP3HZ2HA5CNFSM4HZHOT4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYBHDVI#issuecomment-503476693>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAENSWHBBTOJE7Y7XZPKR5LP3HZ2HANCNFSM4HZHOT4A>
.
|
facing same issue. I have tried node v12 but still having problem |
jiongle1
pushed a commit
to scantist-ossops-m2/node-sass
that referenced
this issue
Apr 7, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there,
NPM version (
npm -v
): 6.9.0Node version (
node -v
): v10.16.0Node Process (
node -p process.versions
): { http_parser: '2.8.0',node: '10.16.0',
v8: '6.8.275.32-node.52',
uv: '1.28.0',
zlib: '1.2.11',
brotli: '1.0.7',
ares: '1.15.0',
modules: '64',
nghttp2: '1.34.0',
napi: '4',
openssl: '1.1.1b',
icu: '64.2',
unicode: '12.1',
cldr: '35.1',
tz: '2019a' }
Node Platform (
node -p process.platform
): linuxNode architecture (
node -p process.arch
): x64We are behing a corporate proxy.
My npmrc :
I have no issue downloading packages. But after upgrading from 10.15.1 to 10.16.0, node-sass doesn't use proxy anymore :
Rollbacking to 10.15.0 and everything is working again...
Looks like node-sass is not using my npmrc anymore. But if I'm setting manually the proxy, it's working with node 10.16 :
Regards,
The text was updated successfully, but these errors were encountered: