Closed jdinartejesus closed 4 years ago
We need a reproduction repo to further look into the problem.
For now, I guess it could be related to this issue: https://github.com/webpack-contrib/mini-css-extract-plugin/issues/3
Please check your underlying webpack version by running npm list webpack
Thanks for the tip @sodatea of using npm list webpack
, that was the missing piece!
NOTE: If someone has the same issue, update all the dependencies that have Webpack >= 4.1.0. Then I had to remove my /node_modules
and reinstall everything. Voilà!
@sodatea i met the same question when i use npm -i
so i run npm list webpack
here is my screenshot
i guess vue-easytable caused it ?
@yandixuan yes, see https://github.com/huangshuwei/vue-easytable/issues/335
Thanks for your help 😀 @sodatea,have a nice day~
Version
4.5.0
Environment info
Steps to reproduce
npx vue-cli-service build
What is expected?
Expected to build to production the project with
npm run build
.What is actually happening?
Things I already tried:
npx vue-cli-service build --watch
and this actually works.PS: Running on serve
npx vue-cli-service serve
also works fine but not running to production.