2017-05-09 13 views
0

私のPHPのlaravelプロジェクトの端末でnpm run watchを実行した後、私はこのエラーを得た:Vue.js 2.3.2バージョンの不一致

Module build failed: Error: 

Vue packages version mismatch: 

- [email protected] 
- [email protected] 

This may cause things to work incorrectly. Make sure to use the same version for both. 
If you are using [email protected]>=10.0, simply update vue-template-compiler. 
If you are using [email protected]<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest. 

私は、このコマンドnpm update vue-template-compilerを実行しようとしたが、エラーが残りました。

他の誰かがこの問題に会いましたか?

+0

'npm install vue-template-compiler'を試してください。 –

+0

答えがThxですが、残念ながら助けにはなりませんでした。 – LakiGeri

+0

はまだ同じエラーですか?あなたは何を得ますか? –

答えて

1

npm installを実行してから問題が解決した後、私はsoluitonを見つけました。node_modulesフォルダを削除しなければなりませんでした。

+1

あなたがあなたのpackage.jsonファイルを投稿しなかったことを考慮して、これが受け入れられる回答ではないと思います。 少なくともvue nad vue-template-compilerのバージョンを投稿してください。 –

+2

私はそれを理解しました、vueとvue-template-compilerのバージョンは同じでなければなりません...どんな驚き:D –

関連する問題