본문 바로가기

프로그래밍 언어/Node.js

[Nuxt.js] Vue packages version mismatch 오류 해결법

728x90

 

오류발생상황 

git 소스를 내려받은 후 실행시 아래 오류 발생하며 실행안됨

 

Vue packages version mismatch:

- vue@2.6.11
- vue-server-renderer@2.6.14

This may cause things to work incorrectly. Make sure to use the same version for both.

The thing that works for me is:

  • remove the lock file (package-lock.json)
  • delete the node_modules folder (this is a mandatory step for me)
  • run npm i

I am using Windows and Node 12.14.0

 

 

| 해결방법

 

package.json 에서 vue 버전 설정하고 다시 npm i 실행하여 vue 새로 세팅하여 해결

 

반응형