Description
TypeError: Cannot read properties of undefined (reading 'filter')
at findLoader (C:\Users\msi\Downloads\Github\react-yelp-clone\webpack.config.js:68:25)
at Object. (C:\Users\msi\Downloads\Github\react-yelp-clone\webpack.config.js:73:3)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (C:\Users\msi\Downloads\Github\react-yelp-clone\node_modules\hjs-webpack\bin\hjs-dev-server.js:17:12)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
Failed to load webpack config, please use like this
hjs-dev-server.js webpack.config.js