[bug] Error: Cannot find module 'html-webpack-plugin'
Opened this issue · 0 comments
yonas commented
Description of the bug
Step by step instructions to reproduce the bug
$ make
Observed behavior
$ make
...
$ webpack
[webpack-cli] Failed to load '/tmp/filestash/webpack.config.js' config
[webpack-cli] Error: Cannot find module 'html-webpack-plugin'
Require stack:
- /tmp/filestash/webpack.config.js
- /usr/local/lib/node_modules/webpack-cli/lib/webpack-cli.js
- /usr/local/lib/node_modules/webpack-cli/lib/bootstrap.js
- /usr/local/lib/node_modules/webpack-cli/bin/cli.js
- /tmp/filestash/node_modules/webpack/bin/webpack.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/tmp/filestash/webpack.config.js:3:27)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/tmp/filestash/webpack.config.js',
'/usr/local/lib/node_modules/webpack-cli/lib/webpack-cli.js',
'/usr/local/lib/node_modules/webpack-cli/lib/bootstrap.js',
'/usr/local/lib/node_modules/webpack-cli/bin/cli.js',
'/tmp/filestash/node_modules/webpack/bin/webpack.js'
]
}
error Command failed with exit code 2.
Expected behavior
Compile without error.
Commit: 21b31c7