Solution:npm install webpack-cli -g
Error: Cannot find module 'webpack-cli/package.json'
Require stack:
- C:\Users\12987\AppData\Roaming\npm\node_modules\webpack\bin\webpack.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.resolve (internal/modules/cjs/helpers.js:94:19)
at runCli (C:\Users\12987\AppData\Roaming\npm\node_modules\webpack\bin\webpack.js:65:26)
at C:\Users\12987\AppData\Roaming\npm\node_modules\webpack\bin\webpack.js:154:5
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\12987\\AppData\\Roaming\\npm\\node_modules\\webpack\\bin\\webpack.js'
]
}
Read More:
- NPM start project error: cannot find module ‘webpack’ problem solution
- [Solved] NRM Error: error code: ‘err’_INVALID_ARG_Type ‘
- How to Fix Webpack run error webpack dev server
- Cli Write Error: This is related to npm not being able to find a file. [Solved]
- Error: uncaughtexception: cannot find module ‘internal / util / types’
- [Solved] Vue.js error: Module build failed: Error: No parser and no file path given, couldn’t infer a parser.
- How to Fix Node SASS Error in Vue + webpack project after nodejs upgrade
- How to Solve Error: Module did not self-register
- [Solved] Executing npm install error: npm ERR! code EINTEGRITY
- Node.js Error: throw er; // Unhandled ‘error‘ event [How to Solve]
- [Solved] npm install [email protected]~1.32 sass-loader deepmerge -D Install Error
- Some problems encountered in the initial construction of Ant Design Pro project, such as cross Env, webpack and so on
- [Solved] npm Error: Error: Cannot find module ‘postcss-loader‘
- Error: cannot find module ‘webpack cli/bin/config yargs’‘
- [Solved] Webpack compilation Error: Cannot find module’webpack-cli/bin/config-yargs’
- Cv2.dnn read model error [How to Solve]
- [Solved] NPM Error: gyp: No Xcode or CLT version detected!
- [Solved] Error: Message failed: 554 5.2.0 STOREDRV.Submission.Exception:OutboundSpamException;
- [Solved] webpack.config.js configuration encountered Error: Cannot find module’@babel/core’&&Cannot find module’@babel/plugin-transform-react-jsx’
- [Solved] Webpack error static heartbeat interval = 1000