Answer the question
In order to leave comments, you need to log in
How to correctly deploy a viro react project to a ready-made example on a smartphone?
Hello!
I'm trying to install viro react for a long time. I tried to do according to these guides: site click and one more, click .
You need to windows
expand the project.
I switched to node v10.19.0
because I was tired of dancing and dancing. It seems that everything started to start, but it still does not work (2).
I did this (1) :
npm install -g react-native-cli react-viro-cli
react-viro init test_app
npm start
= error"." не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prestart: `./node_modules/react-viro/bin/run_ngrok.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prestart 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\User\AppData\Roaming\npm-cache\_logs\2020-03-03T17_11_44_092Z-debug.log
//package.json
"scripts": {
"prestart": "./node_modules/react-viro/bin/run_ngrok.sh",
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
react-native init test_app --version=0.59.3
cd test_app && npm install -S -E react-viro
npm run start
in the console everything started up, and then what?ngrok http 80
запрос идет, НО 502 ошибка
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question