and getting the error when trying to build my project:
[webpack-cli] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:387:5)
at validateString (node:internal/validators:162:11)
at Object.isAbsolute (node:path:1157:5)
at new Plugin (..../node_modules/crx-webpack-plugin/index.js:21:23)
at Object.<anonymous> (..../webpack.config.js:52:5)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Module.require (node:internal/modules/cjs/loader:1057:19) {
code: 'ERR_INVALID_ARG_TYPE'
}
included this plugin into my project by this way:
and getting the error when trying to build my project:
any ideas what went wrong? thanks.
versions: