Cannot read property module 'NormalModule'

trying to ‘run the command ./console vue:build ExampleVue’.


gives an error

Can you provide the output of node -v and npm -v? If your node version is < 16, can you update to 16?

Someone on our team had the same issue, the fix for them was to:

  1. update node to v16.7 + upgrade npm
  2. checkout package-lock.json from git (npm had made changes to it)
  3. do a fresh npm install

Then vue:build started working again.

thanks will try this its currently v10 :slightly_smiling_face: