Module not found: Error: Can't resolve 'ode_modulesue-loaderlibcomponent-normalizer' - vue.js

I've recently decided to give vue-cli a go but after I run npm install, running npm run dev gives me the following error.
Module not found: Error: Can't resolve 'D:Projects estapp
ode_modulesue-loaderlibcomponent-normalizer' in 'D:\Projects\testapp\src'
Any ideas?
Thanks

I was able to fix this error by reinstalling previous version.
npm install vue-loader#10.0.0 --save-dev

Related

React Native- Expo Something went wrong in downloading and extracting the project files: NPM package not found:

I have started many react native applications with the following code before, but now I am encountering this error (Something went wrong in downloading and extracting the project files: NPM package not found: https://registry.npmjs.org/expo-template-blank/-/expo-template-blank-47.0.19.tgz
Error cloning template: Error: NPM package not found: https://registry.npmjs.org/expo-template-blank/-/expo-template-blank-47.0.19.tgz).
Can anyone figure out why?
Error
Try this
npm uninstall -g expo-cli
and npm start again.

error Unable to resolve module - while generating debug APK

error Unable to resolve module /usr/local/lib/node_modules/react-native/node_modules/metro-config/node_modules/metro-runtime/src/modules/empty-module.js
Just by running this in the project directory, it worked for me!
npm i -g react-native-cli

angular-cli keeps throwing Error: Cannot find module 'source-map'

So I installed the angular-cli using npm install #angular-devkit/build-angular but every time I try and use the ng command I get this error: Error: Cannot find module 'source-map'
even trying ng version throws the error. I also trying installing it using npm install angualt-cli but that didnt work either. Anyone know how to fix this issue?
I tried a lot of things and ended up just giving up and running npm install source-map which solved it for me.

vue ui Error: Cannot find module 'core-js/proposals/array-flat-and-flat-map'

I'm starting to learn Vue.js but when I try to launch vue ui, I get this error:
Error: Cannot find module 'core-js/proposals/array-flat-and-flat-map'
I tried to npm install -g core-js and yet still the same error.
my npm version is 6.4.1
Thanks for your anwsers
Here's a temp workaround while they work on resolving the underlying issue:
npm install -g core-js#3.0.0-beta.11
That temp resolution comes from this GitHub issue:
https://github.com/vuejs/vue-cli/issues/3406#issuecomment-459956718

Getting webpack error "Module not found: Error: Cannot resolve module" in fluxible after re-installing node_modules

I have a fluxible project and I'm getting these errors after I deleted all files in node_modules and reinstalled with npm install -d when I try to run with npm run dev which is node webpack-dev-server.js & PORT=3001 nodemon start.js -e js,jsx. The app was working fine until I reinstalled dependencies.
Here's the fluxible template project
https://github.com/yahoo/generator-fluxible
What is causing these errors and how can I diagnose? Why did it work initially and then stopped working when I reinstalled node modules?
ERROR in ./client.js
Module not found: Error: Cannot resolve module 'node_modules/webpack/buildin/module.js' in /Projects/myproject
# ./client.js 1:0-49
ERROR in ./app.js
Module not found: Error: Cannot resolve module 'node_modules/webpack/buildin/module.js' in /Projects/myproject
# ./app.js 1:0-49
https://github.com/hapijs/qs/issues/128
I think it is a know issue. You can always go back to a previous version.