Error Messages:
Error: Cannot find module ‘webpack/lib/RequestShortener’ at Function.Module._resolveFilename (module.js:548:15) at Function.Module._load (module.js:475:25) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object. (C:UsersjoshtDevelopmentkaraoke-butlerkaraokeclientnode_modulesterser-webpack-plugindistindex.js:19:25) at Module._compile (module.js:653:30) at Object.Module._extensions…js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build: react-scripts build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Solution:
Delete package-lock.json
and node_modules
, then execute npm install globally.
Read More:
- Error: cannot find module ‘webpack / lib / ruleset’_ solve
- Run webpack error: Error: Cannot find module’webpack/lib/node/NodeTemplatePlugin’
- Error: Cannot find module’webpack/bin/config-yargs’ solution
- NPX webpack cannot find module’html webpack plugin’a bug causes headache
- Solved – problem cannot find module ‘webpack / bin / config yargs’
- Error: Cannot find module ‘webpack/schemas/WebpackOptions.json’
- Has HTML webpack plugin been installed, or error: cannot find module ‘HTML webpack plugin’
- Copy node causes NPM execution error: cannot find module ‘/ / lib / utils/ unsupported.js ‘
- Cannot find module ‘webpack cli / bin / config yargs‘
- Error: Cannot find Module ‘Webpack-cli ‘- Solution
- VUE Error: Cannot find module ‘webpack/bin/config-yargs’
- Error: solution to the problem of cannot find module ‘webpack / bin / config yargs’
- NPM run dev error: cannot find module ‘webpack cli / bin / config yargs‘
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error [How to Fix]
- Cannot find module ‘.. / lib / utils / unsupported. JS’ problem in installing node in centos7
- Error reported after moving or copying Vue items: cannot find module ‘xxx‘
- Module build failed: error: cannot find module ‘node sass’ error
- Error: cannot find module ‘mongoose’
- NPM- Cannot find module ‘xxxxx’
- Webpack error module build failed: typeerror: fileSystem.statSync is not a function