You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR Failed to compile with 5 errors 10:35:52 error in ./src/assets/icon-preview.svgModule build failed (from ./node_modules/vue-svg-loader/index.js):Error: Vue packages version mismatch:- [email protected] (/Users/derek/Sites/vue-pdfjs-demo/node_modules/vue/dist/vue.runtime.common.js)- [email protected] (/Users/derek/Sites/vue-pdfjs-demo/node_modules/vue-template-compiler/package.json)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/derek/Sites/vue-pdfjs-demo/node_modules/vue-template-compiler/index.js:10:9) at Module._compile (node:internal/modules/cjs/loader:1108:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10) at Module.load (node:internal/modules/cjs/loader:973:32) at Function.Module._load (node:internal/modules/cjs/loader:813:14) at Module.require (node:internal/modules/cjs/loader:997:19) at require (node:internal/modules/cjs/helpers:92:18) at Object.<anonymous> (/Users/derek/Sites/vue-pdfjs-demo/node_modules/vue-svg-loader/index.js:3:18) at Module._compile (node:internal/modules/cjs/loader:1108:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10) at Module.load (node:internal/modules/cjs/loader:973:32) at Function.Module._load (node:internal/modules/cjs/loader:813:14) at Module.require (node:internal/modules/cjs/loader:997:19) at require (node:internal/modules/cjs/helpers:92:18) at loadLoader (/Users/derek/Sites/vue-pdfjs-demo/node_modules/loader-runner/lib/loadLoader.js:18:17) at iteratePitchingLoaders (/Users/derek/Sites/vue-pdfjs-demo/node_modules/loader-runner/lib/LoaderRunner.js:169:2) @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PDFViewer.vue?vue&type=script&lang=js& 52:0-53 72:17-28 @ ./src/components/PDFViewer.vue?vue&type=script&lang=js& @ ./src/components/PDFViewer.vue @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js& @ ./src/App.vue?vue&type=script&lang=js& @ ./src/App.vue @ ./src/main.js @ multi (webpack)-dev-server/client?http://192.168.1.137:8080/sockjs-node ./node_modules/@vue/cli-service/node_modules/webpack/hot/dev-server.js ./src/main.js
I solved this with npm install --save [email protected] to match the version of vue-template-compiler
The text was updated successfully, but these errors were encountered:
After clone, npm install and
npm run serve
I get:I solved this with
npm install --save [email protected]
to match the version ofvue-template-compiler
The text was updated successfully, but these errors were encountered: