PS C:\Users\thiago_gramuglia\desktop\01-projeto-webpack\projeto-webpack\client> npm run build-dev
client@1.0.0 build-dev C:\Users\thiago_gramuglia\desktop\01-projeto-webpack\projeto-webpack\client webpack --config webpack.config.js
[webpack-cli] ReferenceError: required is not defined
at Object. (C:\Users\thiago_gramuglia\desktop\01-projeto-webpack\projeto-webpack\client\webpack.config.js:1:76)
at Module.compile (C:\Users\thiagogramuglia\Desktop\01-projeto-webpack\projeto-webpack\client\node_modules\v8-compile-cache\v8-compile-cache.js:192:30)
at Object.Module.extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module.load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (C:\Users\thiago_gramuglia\Desktop\01-projeto-webpack\projeto-webpack\client\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
at requireConfig (C:\Users\thiago_gramuglia\Desktop\01-projeto-webpack\projeto-webpack\client\node_modules\webpack-cli\lib\groups\resolveConfig.js:73:18)
at C:\Users\thiago_gramuglia\Desktop\01-projeto-webpack\projeto-webpack\client\node_modules\webpack-cli\lib\groups\resolveConfig.js:99:36
at Array.map ()
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! client@1.0.0 build-dev: webpack --config webpack.config.js
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the client@1.0.0 build-dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\thiago_gramuglia\AppData\Roaming\npm-cache_logs\2020-11-09T19_08_27_962Z-debug.log PS C:\Users\thiago_gramuglia\desktop\01-projeto-webpack\projeto-webpack\client>