Cannot find module 'webpack/lib/node/NodeTemplatePlugin nextjs code example
Example: Error: Cannot find module 'webpack/lib/node/NodeTemplatePlugin'
npm install --save-dev webpack webpack-cli html-webpack-plugin webpack-dev-server webpack-dev-middleware