Open AuthorProxy opened 3 years ago
FWIW, I'm 99% sure this is a dotenv error, if that helps any. I'm afraid I don't have a solution, yet.
@AuthorProxy Get rid of the dotenv code in the plugins section and add this at the top
import Dotenv from 'dotenv';
Dotenv.config()
Issue description or question
After updating to webppack5 asks for output path:
[webpack-cli] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
Webpack Config
Environment
Run:
npx envinfo --system --binaries --npmPackages clean-webpack-plugin,webpack