Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!
0 Пользователей и 1 Гость просматривают эту тему.
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -Fetched 2,959 kB in 2s (1,449 kB/s) Reading package lists... DoneW: The repository 'http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial Release' does not have a Release file.N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.N: See apt-secure(8) manpage for repository creation and user configuration details.E: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not FoundE: Some index files failed to download. They have been ignored, or old ones used instead.Error executing command, exiting
sudo apt-get install nodejsReading package lists... DoneBuilding dependency tree Reading state information... Donenodejs is already the newest version (4.2.6~dfsg-1ubuntu4.1).0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.root@stone:~# node -v-bash: node: command not found
sudo apt-get install npmReading package lists... DoneBuilding dependency tree... 50%Building dependency tree Reading state information... Donenpm is already the newest version (3.5.2-0ubuntu4).0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.root@stone:~# root@stone:~# npm -v/usr/bin/env: 'node': No such file or directory
nvm install 0.10.48-bash: nvm: command not found
sudo add-apt-repository -r ppa:chris-lea/node.jscurl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
node -vv8.11.1root@stone:/home/max# npm -v5.8.0root@stone:/home/max# nvm ls-bash: nvm: command not foundroot@stone:/home/max# nvm install 0.10.48-bash: nvm: command not found
Страница сгенерирована за 0.082 секунд. Запросов: 23.