G
G
Gagatyn2020-03-03 20:23:07
JavaScript
Gagatyn, 2020-03-03 20:23:07

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 windowsexpand the project.
I switched to node v10.19.0because 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"
      },


Option (2) :
  • react-native init test_app --version=0.59.3
  • cd test_app && npm install -S -E react-viro
  • npm run startin the console everything started up, and then what?
  • installed ngrok, saved API key, launchedngrok http 80
  • запрос идет, НО 502 ошибка

There are no more instructions. Correct, describe the correct / correct installation on windows-android. Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question