2017-01-07 9 views
0

ノードのバージョン管理にnvmを使用しています。私はzsh-nvm経由でzshへのプラグインとしてインストールしました。私はノードv6.1.0とv.0.10.42の2つのバージョンをインストールしました。私は後者を使用するプロジェクトに取り組んでいるので、デフォルトのプロジェクトに設定しました。今、私は、ターミナルウィンドウを開くたびに、私はこれらの警告を得る:zshのnpm/nvmからの廃止予定警告を抑制する方法は?

npm WARN deprecated This version of npm lacks support for important features, 
npm WARN deprecated such as scoped packages, offered by the primary npm 
npm WARN deprecated registry. Consider upgrading to at least [email protected], if not the 
npm WARN deprecated latest stable version. To upgrade to [email protected], run: 
npm WARN deprecated 
npm WARN deprecated npm -g install [email protected] 
npm WARN deprecated 
npm WARN deprecated To upgrade to the latest stable version, run: 
npm WARN deprecated 
npm WARN deprecated npm -g install [email protected] 
npm WARN deprecated 
npm WARN deprecated (Depending on how Node.js was installed on your system, you 
npm WARN deprecated may need to prefix the preceding commands with `sudo`, or if 
npm WARN deprecated on Windows, run them from an Administrator prompt.) 
npm WARN deprecated 
npm WARN deprecated If you're running the version of npm bundled with 
npm WARN deprecated Node.js 0.10 LTS, be aware that the next version of 0.10 LTS 
npm WARN deprecated will be bundled with a version of [email protected], which has some small 
npm WARN deprecated backwards-incompatible changes made to `npm run-script` and 
npm WARN deprecated semver behavior. 

私は​​を入れている~/.npmrcファイルを追加しようとしたが、私はまだこれらの警告を取得します。私は私の.zshrcファイルにいくつかの設定をする必要があると思う。あなたは私に1つを指摘できますか?

答えて

0

私が知る限り、これらの警告(npmから)を抑制する唯一の方法は、それらを放出しないnpmのバージョンを使用することです。

関連する問題