@glebvvs

Почему не запускается проект на React.JS?

Пытаюсь запустить тестовый проект на реакте. Использую утилиту для установки create-react-app

После команды npm start запуск не происходит, а вылетает следующее:

You can now view hello-world in the browser.

Local: localhost:3000
On Your Network: 192.168.0.101:3000

Note that the development build is not optimized.
To create a production build, use npm run build.

#
# Fatal error in , line 0
# Check failed: U_SUCCESS(status).
#
#
#
#FailureMessage Object: 0x7ffd9d403f50npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hello-world@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hello-world@0.1.0 start 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! /home/gleb/.npm/_logs/2019-04-28T16_54_09_903Z-debug.log


Содержимое лога npm следующее:
info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/home/gleb/.nvm/versions/node/v12.0.0/bin/node',
1 verbose cli '/home/gleb/.nvm/versions/node/v12.0.0/bin/npm',
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 hello-world@0.1.0~prestart: hello-world@0.1.0
6 info lifecycle hello-world@0.1.0~start: hello-world@0.1.0
7 verbose lifecycle hello-world@0.1.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle hello-world@0.1.0~start: PATH: /home/gleb/.nvm/versions/node/v12.0.0/lib/node_modules/npm/node_modules/npm-lifecycle/node$
9 verbose lifecycle hello-world@0.1.0~start: CWD: /home/gleb/hello-world
10 silly lifecycle hello-world@0.1.0~start: Args: [ '-c', 'react-scripts start' ]
11 silly lifecycle hello-world@0.1.0~start: Returned: code: 1 signal: null
12 info lifecycle hello-world@0.1.0~start: Failed to exec start script
13 verbose stack Error: hello-world@0.1.0 start: `react-scripts start`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/home/gleb/.nvm/versions/node/v12.0.0/lib/node_modules/npm/node_modules/npm-lifecycle/index$
13 verbose stack at EventEmitter.emit (events.js:196:13)
13 verbose stack at ChildProcess. (/home/gleb/.nvm/versions/node/v12.0.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/s$
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 hello-world@0.1.0
15 verbose cwd /home/gleb/hello-world
16 verbose Linux 4.15.0-47-generic
17 verbose argv "/home/gleb/.nvm/versions/node/v12.0.0/bin/node" "/home/gleb/.nvm/versions/node/v12.0.0/bin/npm" "start"
18 verbose node v12.0.0
19 verbose npm v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error hello-world@0.1.0 start: `react-scripts start`
22 error Exit status 1
23 error Failed at the hello-world@0.1.0 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.



В чем вообще может быть проблема?
  • Вопрос задан
  • 645 просмотров
Решения вопроса 1
rockon404
@rockon404 Куратор тега React
Frontend Developer
Установите LTS версию Node.js - 10.15
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы