Skip to content

Vue packages version mismatch #389

Closed
@tolerious

Description

@tolerious

run vue init webpack-simple command, then run npm run dev, got such errors:

ERROR in ./src/App.vue
Module build failed: Error: 

Vue packages version mismatch:

- vue@2.2.1
- vue-template-compiler@2.2.2

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

    at Object.<anonymous> (/Users/tolerious/tjdesigner-mobile/node_modules/.2.2.2@vue-template-compiler/index.js:8:9)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/tolerious/tjdesigner-mobile/node_modules/.11.1.4@vue-loader/lib/parser.js:1:78)
    at Module._compile (module.js:570:32)
 @ ./src/main.js 2:0-28
 @ multi ./~/.2.4.1@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions