angular-cli
をインストールすることはできませんだけで、インストール時に終了します。が角-CLI
(myapp)[email protected]:/vagrant$ sudo npm install -g angular-cli
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: This package is discontinued. Use [email protected]^4.0.0.
(myapp)[email protected]:/vagrant$ l mapToRegistry uri https://registry.npmjs.org/serve-static
(myapp)[email protected]:/vagrant$ ng
The program 'ng' is currently not installed. To run 'ng' please ask your administrator to install the package 'ng-common'
私がノードとNPMの両方の最新バージョンを持っているようだ:
(myapp)[email protected]:/vagrant$ npm -v
3.10.9
(myapp)[email protected]:/vagrant$ node -v
v6.9.1
あなたはとても同じ問題に直面して – sawbeanraz
sudoのng' 'てみてくださいsudoを使用してインストールしました:: 放浪の@放浪-のubuntu-信頼できる-64:〜$を私がしなければならなかった最後のステップ
sudo npmキャッシュクリーン 迷惑メール迷路 - ubuntu-trusty-64:〜$ sudo npmアンインストール-g angular-cli 迷惑メール迷路 - ubuntu-trusty-64:〜$ sudo npm install -g angular-cli ... ..... 迷惑メール迷路 - ubuntu-trusty-64:〜$:il mapToRegistry uri https://registry.npmjs.org/selenium-webdriver –