Comments (5)
most likely a proxy problem, have a look at #9 and try the workaround suggested in there to preserve proxy env vars:
curl -sL https://deb.nodesource.com/setup | sudo -E bash -
from distributions.
We used the good old Ubuntu style installation:
sudo add-apt-repository 'deb https://deb.nodesource.com/node trusty main'
# Cannot work on ITB Proxy, so just ignore
#sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 68576280
sudo aptitude update
sudo aptitude install nodejs
I'd suggest putting the conventional way of installing packages in the docs, it's more user-friendly for those already knowing their OS (better than NodeSource's script) and it's easier to put such steps into configuration management (e.g. Puppet and friends) than an opaque script.
from distributions.
@dachary who is meteornetworks.com ? That's probably your ISP or wifi router....
from distributions.
Confirmed solution for me behind corporate proxy is as @rvagg commented, from #9: Add -E to sudo to preserve env vars.
curl -sL https://deb.nodesource.com/setup_0.12 | sudo -E bash -
from distributions.
Adding instructions to README.md
for using the script from behind a proxy.
Will land in #308
from distributions.
Related Issues (20)
- [ERROR] Failed to install Node.js in ubuntu 23.04 HOT 2
- [ERROR] Node.js 16 on Ubuntu 20 Installation fail HOT 2
- [ERROR] Server that hosts the script for installing aptitude sources returns 503 HOT 2
- [ERROR] Node.js 18 on Ubuntu 22.04 Installation fail HOT 3
- [DISTRIBUTION] Support for distribution XX HOT 2
- [ERROR] Node.js 18 on Amazon Linux 2023 Installation fail HOT 11
- [ERROR] Node.js 20 apt update error HOT 1
- [ERROR] Node.js 20.x on Debian Installation fail - 503 Service temporarilly unavailable HOT 1
- [ERROR] Node.js 20.x on amazonlinux:2023 Installation fail: GPG check FAILED HOT 12
- please do not run `dnf update -y` in setup script HOT 2
- NodeJS 16 is listed as "supported" in README but no instructions HOT 3
- [ERROR] Node.js 20 on Ubuntu20 Installation fail HOT 2
- [ERROR] nodejs 18.19.0 missing in nodesource Debian 12 repository HOT 8
- Add riscv64 Support HOT 1
- [ERROR] Node.js 16 script throws with script/repo deprecated error HOT 6
- [ERROR] Node.js 18.19.0 on AL2023 fails with content-length mismatch HOT 1
- Wiki documentation for pinned node versions causes GPG key conflict. HOT 3
- [ERROR] RPM Mirror Fail HOT 4
- FAQ on scripts and manual install / HOT 3
- Symbolic Release Repositories HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distributions.