npm start ошибка note that the development build is not optimized
а через run build + serve -s build запускается
Лог из файла
<i>0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'B:\\Web\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\artur\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'start'
1 verbose cli ]
2 info using npm@6.9.0
3 info using node@v12.0.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle react-first@0.1.0~prestart: react-first@0.1.0
6 info lifecycle react-first@0.1.0~start: react-first@0.1.0
7 verbose lifecycle react-first@0.1.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle react-first@0.1.0~start: PATH: C:\Users\artur\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;B:\Web\ReactJS\first\react-first\node_modules\.bin;C:\Users\artur\AppData\Roaming\npm;B:\Web\nodejs\;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\File Viewer Lite\lib\magick;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Xoreax\IncrediBuild;C:\Program Files\Git\cmd;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;B:\Web\nodejs\;C:\NVPACK\android-sdk-windows\extras\android\support;C:\NVPACK\android-sdk-windows\build-tools;C:\NVPACK\android-sdk-windows\platform-tools;C:\NVPACK\android-sdk-windows\tools;C:\NVPACK\gradle-4.1-rc-2\bin;C:\NVPACK\apache-ant-1.8.2\bin;C:\NVPACK\jdk1.8.0_77\bin;C:\NVPACK\android-ndk-r15c;;C:\Users\artur\AppData\Roaming\npm
9 verbose lifecycle react-first@0.1.0~start: CWD: B:\Web\ReactJS\first\react-first
10 silly lifecycle react-first@0.1.0~start: Args: [ '/d /s /c', 'react-scripts start' ]
11 silly lifecycle react-first@0.1.0~start: Returned: code: 3221225477 signal: null
12 info lifecycle react-first@0.1.0~start: Failed to exec start script
13 verbose stack Error: react-first@0.1.0 start: `react-scripts start`
13 verbose stack Exit status 3221225477
13 verbose stack at EventEmitter.<anonymous> (C:\Users\artur\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:196:13)
13 verbose stack at ChildProcess.<anonymous> (C:\Users\artur\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:196:13)
13 verbose stack at maybeClose (internal/child_process.js:1000:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:267:5)
14 verbose pkgid react-first@0.1.0
15 verbose cwd B:\Web\ReactJS\first\react-first
16 verbose Windows_NT 6.1.7601
17 verbose argv "B:\\Web\\nodejs\\node.exe" "C:\\Users\\artur\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "start"
18 verbose node v12.0.0
19 verbose npm v6.9.0
20 error code ELIFECYCLE
21 error errno 3221225477
22 error react-first@0.1.0 start: `react-scripts start`
22 error Exit status 3221225477
23 error Failed at the react-first@0.1.0 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 3221225477, true ]
</i>