I'm using 2 machines to test and develop a small web app written in vue. For the project I use github to easily work on both machines.
Up until yesterday I was working on macos without an issue. Today I tried to get the project up and running on my windows machine but I'm stuck with this error:
TypeError: Cannot read properties of undefined (reading 'NormalModule')
So far I've tried the following:
node_modules folder using npm installnode_modules and package-lock.json and running npm install againunfortunately the error still exists on my windows machine. I have no issue letting the project run on my macbook.
TypeError: Cannot read properties of undefined (reading 'NormalModule')
at VueLoaderPlugin.apply (C:\dev\prj\node_modules\vue-loader-v16\dist\pluginWebpack5.js:44:47)
at webpack (C:\dev\prj\node_modules\@vue\cli-service\node_modules\webpack\lib\webpack.js:51:13)
at serve (C:\dev\prj\node_modules\@vue\cli-service\lib\commands\serve.js:163:22)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
after looking for quite some time I ended up reinstalling a webpack version that I had installed.
after running npm install [email protected] --save everything worked quite well again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With