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

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.

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

Vue: Error: The project seems to require yarn but it's not installed

I have vue3 project. When I try to yarn serve it shows the following error:
I installed yarn globally but this error occured again. Any help and solution is really appreciated!

npm cannot install some packages globally and locally?

I'm developing some JavaScript application with VSCode editor, and it says cannot find ESlint package. So i tried install it locally on app directory and globally, but both methods are failed. It gives following error(log file) and stops installation.
silly fetchPackageMetaData error for emoji-regex#^7.0.1 Unexpected end of JSON input while parsing near '...gex-7.0.1.tgz","fileC'
i tried to install package that causes the error and it also get failed, i cleared cache of npm with npm cache clean --force and re-install eslint package. And it worked.

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

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