npmはピア依存関係をもうインストールしないことに気づきましたが、手動でインストールすると、babel-preset-es2016にはbabel-runtimeのピアが必要ですが、何もインストールされていません
➜ npm install babel-runtime -g
/usr/local/lib
└─┬ [email protected]
└── [email protected]
➜ npm install babel-preset-es2016 -g
/usr/local/lib
├── [email protected]
└── UNMET PEER DEPENDENCY [email protected]^6.6.1
npm WARN [email protected] requires a peer of [email protected]^6.6.1 but none was installed.
EDIT
私は(下記の提案ごとに)ローカルにインストールした場合、私は警告を取得しない:
➜ test npm i [email protected]\^6.6.1
[email protected] /home/jdifool/work/test
├── [email protected]
├── [email protected]
└─┬ [email protected]
└─┬ [email protected]
├─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └── [email protected]
└─┬ [email protected]
└── [email protected]
はなぜ?
再実行キャレットが(NPM私[email protected]^6.6.1 -g のzsh使用することはできません前にクリーンアップ:一致が見つかりません:[email protected]^6.6.1)と私はすでに[email protected]をインストールしました – Laurent
私はちょうどそれを試して、 'npm 3.7.3'で動作します – activatedgeek
私の悪い:私は\^on zsh。 'npm i [email protected]^6.6.1 -g'は6.6.1(最新の?)を頑固にインストールしているので、まだ運がありません。私のnpm -versionは3.8.3です。 – Laurent