コマンドでNode.jsをインストールしましたが、websocketのバージョンが対応していなかったらしくnodeの非対応バージョンを削除したいと思っています。
git clone git://github.com/creationix/nvm.git ~/.nvm source ~/.nvm/nvm.sh nvm install v0.10.5 nvm install v7.8.0 nvm use v7.8.0 sudo chown -R $USER /usr/local curl http://npmjs.org/install.sh | sh npm install socket.io express npm install websocket-server :エラー内容 npm ERR! Linux 2.6.32-696.el6.x86_64 npm ERR! argv "/root/.nvm/versions/node/v7.8.0/bin/node" "/root/.nvm/versions/node/v7.8.0/bin/npm" "install" "websocket-server" npm ERR! node v7.8.0 npm ERR! npm v4.2.0 npm ERR! Cannot convert undefined or null to object npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues> npm ERR! Please include the following file with any support request: npm ERR! /root/.npm/_logs/2017-04-10T08_00_44_888Z-debug.log
make uninstallをしてもうまくいかず、どうやって非対応バージョンを削除していいのかわかりません。。
サイトを見てもダウンロードの仕方が違ったりで、本当に対応したアンインストール方法か解らず、困惑しております。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。