ARTICLE AD BOX
I have latest version on node (v25.0.0) and npm (11.4.2) but still unable to download.
I used below command
npm i --save -D webpackIt gave me up to date, audited 18 packages in 6s found 0 vulnerabilities
but when I am doing
npm ls webpackmicrofrontend-fundamentals@ E:\micro-frontends\microfrontend-fundamentals -- (empty)
Also when I run npm start
It is giving below error
PS D:\git\micro-frontends\microfrontend-fundamentals\host> npx webpack [webpack-cli] Failed to load 'D:\git\micro-frontends\microfrontend-fundamentals\host\webpack.config.js' config [webpack-cli] Error: Cannot find module 'html-webpack-plugin' Require stack: - D:\git\micro-frontends\microfrontend-fundamentals\host\webpack.config.js - C:\Users\AppData\Roaming\npm\node_modules\webpack-cli\lib\webpack-cli.js - C:\Users\AppData\Roaming\npm\node_modules\webpack-cli\lib\bootstrap.js - C:\Users\AppData\Roaming\npm\node_modules\webpack-cli\bin\cli.js - C:\Users\AppData\Roaming\npm\node_modules\webpack\bin\webpack.js at Module._resolveFilename (node:internal/modules/cjs/loader:1419:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22) at Module._load (node:internal/modules/cjs/loader:1225:37) at TracingChannel.traceSync (node:diagnostics_channel:328:14) at wrapModuleLoad (node:internal/modules/cjs/loader:244:24) at Module.require (node:internal/modules/cjs/loader:1502:12) at require (node:internal/modules/helpers:152:16) at Object.<anonymous> (D:\git\micro-frontends\microfrontend-fundamentals\host\webpack.config.js:4:27) at Module._compile (node:internal/modules/cjs/loader:1759:14) { code: 'MODULE_NOT_FOUND', requireStack: [ 'D:\\git\\micro-frontends\\microfrontend-fundamentals\\host\\webpack.config.js', 'C:\\Users\\AppData\\Roaming\\npm\\node_modules\\webpack-cli\\lib\\webpack-cli.js', 'C:\\Users\\AppData\\Roaming\\npm\\node_modules\\webpack-cli\\lib\\bootstrap.js', 'C:\\Users\\AppData\\Roaming\\npm\\node_modules\\webpack-cli\\bin\\cli.js', 'C:\\Users\\AppData\\Roaming\\npm\\node_modules\\webpack\\bin\\webpack.js' ] }Please suggest what to do?
Explore related questions
See similar questions with these tags.
