npmでelectronを入れようとした際に、エラーが出てどうしてもインストールすることができません。
プロキシをいじったり、strict-ssl = false
をしてみてもだめでした。
色々試行錯誤してみたのですがダメで困っています。
###発生している問題・エラーメッセージ
hoge@s26:~$ npm -g install electron npm ERR! code EPROTO npm ERR! errno EPROTO npm ERR! request to https://registry.npmjs.org/electron failed, reason: write EPROTO xxxxxxxxxxxxxxx:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:797: npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! /home/hoge/.npm/_logs/2017-xx-xxxxx_xx_xx_xxxx-debug.log
###試したこと
hoge@s26:~$ npm -g config set proxy http://proxyserver:xxxx hoge@s26:~$ npm -g config set https-proxy http://proxyserver:xxxx hoge@s26:~$ npm -g install electron [..................] / rollbackFailedOptional: verb npm-session xxxxxxxxxxxxxxxx
となり固まってそのまま....だめでした。
###補足情報(言語/FW/ツール等のバージョンなど)
・Ubuntu 16.04.3 LTS
・nvm(0.33.4)
・node.js(v8.5.0)
・npm(5.3.0)
・SSHで接続しています。
どうかお力を貸してください。よろしくお願いいたします。

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。