Vue-loader: Error: Cannot find module 'vue-template-compiler'

Created on 5 Dec 2016  路  2Comments  路  Source: vuejs/vue-loader

Hi,

I tried updating vue-loader to 10.0.2 (before it was 9.x) and now I get Errors in my components telling me the vue-template-compiler could not be found. I saw that you moved it in the devDependencies, but it will still be imported in the parser.js, which causes those errors.

Most helpful comment

can this be documented? the 'setting up a project' page only mentions using vue-cli.

All 2 comments

You will need to add to your package.json and install it, it is now a peer dependency. So you will now need to have it installed at project level.

can this be documented? the 'setting up a project' page only mentions using vue-cli.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sdvcrx picture sdvcrx  路  3Comments

C0deZLee picture C0deZLee  路  3Comments

chrisvfritz picture chrisvfritz  路  4Comments

TheVexatious picture TheVexatious  路  3Comments

amorphine picture amorphine  路  3Comments