Помогите понять в чем дело. При выполнении команды npm run build возникает такая ошибка. Update сделан, команды
npm cache clean --force
delete node_modules folder
delete package-lock.json file
npm install
не помогли
Лог прикладываю
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\Marina\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'build' ]
2 info using npm@6.14.10
3 info using node@v8.11.3
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle praktikum@1.0.0~prebuild: praktikum@1.0.0
6 info lifecycle praktikum@1.0.0~build: praktikum@1.0.0
7 verbose lifecycle praktikum@1.0.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle praktikum@1.0.0~build: PATH: C:\Users\Marina\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Marina\dev\praktikum\node_modules\.bin;C:\Users\Marina\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Marina\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Program Files\nodejs;C:\ProgramData\ComposerSetup\bin;C:\Users\Marina\Desktop\OSPanel\modules\php\PHP-7.2;C:\Program Files\PuTTY;C:\Users\Marina\AppData\Local\Microsoft\WindowsApps;C:\Users\Marina\AppData\Roaming\npm;C:\Users\Marina\AppData\Roaming\Composer\vendor\bin;C:\Users\Marina\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl
9 verbose lifecycle praktikum@1.0.0~build: CWD: C:\Users\Marina\dev\praktikum
10 silly lifecycle praktikum@1.0.0~build: Args: [ '/d /s /c', 'webpack' ]
11 silly lifecycle praktikum@1.0.0~build: Returned: code: 1 signal: null
12 info lifecycle praktikum@1.0.0~build: Failed to exec build script
13 verbose stack Error: praktikum@1.0.0 build: `webpack`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (C:\Users\Marina\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess. (C:\Users\Marina\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid praktikum@1.0.0
15 verbose cwd C:\Users\Marina\dev\praktikum\src
16 verbose Windows_NT 10.0.19041
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Marina\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
18 verbose node v8.11.3
19 verbose npm v6.14.10
20 error code ELIFECYCLE
21 error errno 1
22 error praktikum@1.0.0 build: `webpack`
22 error Exit status 1
23 error Failed at the praktikum@1.0.0 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]