Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Installing the NodeSource Node.js v4.x LTS Argon repo...
- ## Inspecting system...
- + rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
- + uname -m
- ## Confirming "el7-x86_64" is supported...
- + curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'
- ## Downloading release setup RPM...
- + mktemp
- + curl -sL -o '/tmp/tmp.koQFlle5c8' 'https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'
- ## Installing release setup RPM...
- + rpm -i --nosignature --force '/tmp/tmp.koQFlle5c8'
- ## Cleaning up...
- + rm -f '/tmp/tmp.koQFlle5c8'
- ## Checking for existing installations...
- + rpm -qa 'node|npm' | grep -v nodesource
- XNode.js v4.x LTS Argon == XNode.js v5.x
- ## Run `[1myum install -y nodejs[22m` (as root) to install Node.js v4.x LTS Argon and npm.
- You may also need development tools to build native addons:
- `yum install -y gcc-c++ make`
- Loaded plugins: fastestmirror
- Loading mirror speeds from cached hostfile
- * base: ca.mirror.babylon.network
- * extras: ca.mirror.babylon.network
- * rpmforge: repoforge.mirror.constant.com
- * updates: ca.mirror.babylon.network
- Resolving Dependencies
- --> Running transaction check
- ---> Package nodejs.x86_64 2:6.10.2-2nodesource.el7.centos will be installed
- --> Finished Dependency Resolution
- Dependencies Resolved
- ================================================================================
- Package Arch Version Repository Size
- ================================================================================
- Installing:
- nodejs x86_64 2:6.10.2-2nodesource.el7.centos nodesource 9.4 M
- Transaction Summary
- ================================================================================
- Install 1 Package
- Total download size: 9.4 M
- Installed size: 33 M
- Downloading packages:
- https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodejs-6.10.2-2nodesource.el7.centos.x86_64.rpm: [Errno 14] HTTPS Error 404 - Not Found
- Trying other mirror.
- To address this issue please refer to the below knowledge base article
- https://access.redhat.com/articles/1320623
- If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
- Error downloading packages:
- 2:nodejs-6.10.2-2nodesource.el7.centos.x86_64: [Errno 256] No more mirrors to try.
- ./nodejs.sh: line 159: npm: command not found
- [1;33;40m---------------------------
- [0;10mNode.js Version: -n
- [0;10m./nodejs.sh: line 164: node: command not found
- [1;33;40m---------------------------
- [0;10mnpm Version: -n
- [0;10m./nodejs.sh: line 167: npm: command not found
- [1;33;40m---------------------------
- [0;10m
- [1;32;40mnode.js YUM install completed
- [0;10m
- Total Node.js Install Time: 3.068913290 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement