nodejs nodejs.makefile
/npm およびいくつかの npm パッケージをインストールするコマンドが含まれている場合、次のようになります。
nodejs:
sudo add-apt-repository -y ppa:chris-lea/node.js #install fresh nodejs
sudo apt-get update
sudo apt-get install -y nodejs
sudo npm update -g npm #refresh npm
sudo npm install -g topojson jsdom minimist #install npm modules
npm cache clean
次に実行します:
sudo make -f nodejs.makefile
sudo apt-get update
しかし、エラーによってレベル(コマンド2)で停止します:
... #some messages here
apt-get update
... #many other messages there
Ign http://fr.archive.ubuntu.com trusty/universe Translation-en_US
W: Failed to fetch http://ppa.launchpad.net/jonoomph/openshot-edge/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/jonoomph/openshot-edge/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/michael-gruz/canon/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/michael-gruz/canon/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
make: *** [nodejs] Error 100
確認したところ、「Error 100」は単なるsudo apt-get update
失敗のエラー メッセージのようです。しかし、この有名なnodejs
インストール方法が実際に失敗する理由がわかりません。ランチパッド サーバーが故障している可能性があります。
それを機能させる方法は?