При npm run build:web даёт такую ошибку
TypeError: Cannot set property 'index' of undefined
at D:\ragemp servers\diamond-main\node_modules\extract-text-webpack-plugin\dist\index.js:211:32
at Set.forEach (<anonymous>)
at D:\ragemp servers\diamond-main\node_modules\extract-text-webpack-plugin\dist\index.js:209:16
at Hook.eval [as callAsync] (eval at create (D:\ragemp servers\diamond-main\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:24:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (D:\ragemp servers\diamond-main\node_modules\webpack\node_modules\tapable\lib\Hook.js:18:14)
at Compilation.seal (D:\ragemp servers\diamond-main\node_modules\webpack\lib\Compilation.js:3080:27)
at D:\ragemp servers\diamond-main\node_modules\webpack\lib\Compiler.js:1340:20
at D:\ragemp servers\diamond-main\node_modules\webpack\lib\Compilation.js:2876:4
at eval (eval at create (D:\ragemp servers\diamond-main\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:40:1)
at D:\ragemp servers\diamond-main\node_modules\webpack\lib\FlagDependencyExportsPlugin.js:394:10
at D:\ragemp servers\diamond-main\node_modules\neo-async\async.js:2830:7
at Object.each (D:\ragemp servers\diamond-main\node_modules\neo-async\async.js:2850:39)
at D:\ragemp servers\diamond-main\node_modules\webpack\lib\FlagDependencyExportsPlugin.js:365:17
at D:\ragemp servers\diamond-main\node_modules\neo-async\async.js:2830:7
at Object.each (D:\ragemp servers\diamond-main\node_modules\neo-async\async.js:2850:39)
at D:\ragemp servers\diamond-main\node_modules\webpack\lib\FlagDependencyExportsPlugin.js:51:15
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:web:
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:web 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\nicuk\AppData\Roaming\npm-cache\_logs\2024-07-25T10_26_49_612Z-debug.log
PS D:\ragemp servers\diamond-main\src>
Что делать
TypeError: Cannot set property 'index' of undefined
at D:\ragemp servers\diamond-main\node_modules\extract-text-webpack-plugin\dist\index.js:211:32
at Set.forEach (<anonymous>)
at D:\ragemp servers\diamond-main\node_modules\extract-text-webpack-plugin\dist\index.js:209:16
at Hook.eval [as callAsync] (eval at create (D:\ragemp servers\diamond-main\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:24:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (D:\ragemp servers\diamond-main\node_modules\webpack\node_modules\tapable\lib\Hook.js:18:14)
at Compilation.seal (D:\ragemp servers\diamond-main\node_modules\webpack\lib\Compilation.js:3080:27)
at D:\ragemp servers\diamond-main\node_modules\webpack\lib\Compiler.js:1340:20
at D:\ragemp servers\diamond-main\node_modules\webpack\lib\Compilation.js:2876:4
at eval (eval at create (D:\ragemp servers\diamond-main\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:40:1)
at D:\ragemp servers\diamond-main\node_modules\webpack\lib\FlagDependencyExportsPlugin.js:394:10
at D:\ragemp servers\diamond-main\node_modules\neo-async\async.js:2830:7
at Object.each (D:\ragemp servers\diamond-main\node_modules\neo-async\async.js:2850:39)
at D:\ragemp servers\diamond-main\node_modules\webpack\lib\FlagDependencyExportsPlugin.js:365:17
at D:\ragemp servers\diamond-main\node_modules\neo-async\async.js:2830:7
at Object.each (D:\ragemp servers\diamond-main\node_modules\neo-async\async.js:2850:39)
at D:\ragemp servers\diamond-main\node_modules\webpack\lib\FlagDependencyExportsPlugin.js:51:15
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:web:
cross-env NODE_ENV=development webpack --progress
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:web 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\nicuk\AppData\Roaming\npm-cache\_logs\2024-07-25T10_26_49_612Z-debug.log
PS D:\ragemp servers\diamond-main\src>
Что делать