以前のバージョンでは、アプリケーションはAngular 4.4.6で動作していました。Angular 5に更新するときにエラーが発生する:重要な依存関係:依存関係の要求が式
npm install @angular/[email protected]'^5.0.0' @angular/[email protected]'^5.0.0' @angular/[email protected]'^5.0.0' @angular/[email protected]'^5.0.0' @angular/[email protected]'^5.0.0' @angular/[email protected]'^5.0.0' @angular/[email protected]'^5.0.0' @angular/[email protected]'^5.0.0' @angular/[email protected]'^5.0.0' @angular/[email protected]'^5.0.0' @angular/[email protected]'^5.0.0' [email protected] [email protected]'^5.5.2'
しかし、それは動作しませんでした:私はこれを使用アンギュラ5にアップデートするguide https://angular-update-guide.firebaseapp.com/を追いました。それは私にエラーno valid target found for rxjs
を与えるだろう。だからではなく、私は単に私のpackage.jsonにバージョンを変更してnpm install
を実行し、それが働いたが、NPMの開始を実行しているとき、私はエラー
WARNING in ./~/@angular/core/esm5/core.js
6456:15-102 Critical dependency: the request of a dependency is an expression
を取得するだから、私はnode_modulesを削除し、NPMもう一度インストールしなかった、とnpm startを実行しても同じエラーが表示されます。
あなたがエラーを取得していないが、あなたは警告を取得しています。アプリケーションは引き続き動作するはずです。 –
どうすれば修正できますか? – Christian
修正が必要なものは何もありません。進む。 –