Cordovaのインストールエラー
npmでcordovaをインストール時にエラー
インストールコマンド:
npm install -g cordova
エラー:
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/cordva/express-generator/express
npm ERR! 404
npm ERR! 404 'cordva' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 'cordva' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
対応:
コマンドラインから下記を実行したらエラー解決
npm set registry https://registry.npmjs.org/