Node App React Native Error

Asked

Viewed 275 times

0

I am unable to create new project Whenever I run the command: React-Native init Myproject it cannot complete the creation of the project.

Follow picture: Print do erro da criação do projeto

3 answers

1

The version React-Native 0.56.0 has a bug in windows 10, use version 0.55.2. change the version in package.json, clean the node_modules folder and run npm install, then run.

0

Install Yarn as it prompts at the beginning of the installation. There are many npm errors that occurred when using it to install React Native.

0

Try creating your project on

C: Users**Your User**\

error while running

React-Native init Awesomeproject

and the mistake is something like

"Unknow command React-Native.."

suffice

run npm install -g React-Native-cli.

and run again

React-Native init Awesomeproject

Browser other questions tagged

You are not signed in. Login or sign up in order to post.