Помогите с ошибкой err elifecycle 3221225477 при компиляции через live-server.
debug.log такой:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'compile:sass' ]
2 info using npm@6.9.0
3 info using node@v10.16.3
4 verbose run-script [ 'precompile:sass', 'compile:sass', 'postcompile:sass' ]
5 info lifecycle natours@1.0.0~precompile:sass: natours@1.0.0
6 info lifecycle natours@1.0.0~compile:sass: natours@1.0.0
7 verbose lifecycle natours@1.0.0~compile:sass: unsafe-perm in lifecycle true
8 verbose lifecycle natours@1.0.0~compile:sass: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Святослав\Desktop\Natours\node_modules\.bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\nodejs\;;C:\Users\Святослав\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Святослав\AppData\Roaming\npm
9 verbose lifecycle natours@1.0.0~compile:sass: CWD: C:\Users\Святослав\Desktop\Natours
10 silly lifecycle natours@1.0.0~compile:sass: Args: [ '/d /s /c', 'node-sass sass/main.scss css/style.css -w' ]
11 silly lifecycle natours@1.0.0~compile:sass: Returned: code: 3221225477 signal: null
12 info lifecycle natours@1.0.0~compile:sass: Failed to exec compile:sass script
13 verbose stack Error: natours@1.0.0 compile:sass: `node-sass sass/main.scss css/style.css -w`
13 verbose stack Exit status 3221225477
13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid natours@1.0.0
15 verbose cwd C:\Users\Святослав\Desktop\Natours\sass
16 verbose Windows_NT 6.1.7601
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "compile:sass"
18 verbose node v10.16.3
19 verbose npm v6.9.0
20 error code ELIFECYCLE
21 error errno 3221225477
22 error natours@1.0.0 compile:sass: `node-sass sass/main.scss css/style.css -w`
22 error Exit status 3221225477
23 error Failed at the natours@1.0.0 compile:sass script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 3221225477, true ]
My package.sjon:
{
"name": "natours",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"compile:sass": "node-sass sass/main.scss css/style.css -w"
},
"author": "Sviatoslav",
"license": "ISC",
"devDependencies": {
"node-sass": "^4.12.0"
}
}
Спасибо!