Problems with React-Native

Asked

Viewed 42 times

-1

Hello, I was installing the React-Native on my PC, when I went to give "npx React-Native run-android" inside the project folder, it gives an error:

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

  • 1

    Try to create a Desktop project and not in System32 and see if this folder exists, the error is that the directory does not exist, tries to create a new project, ctrlC and ctrlV in what you have already created and download the dependencies again.

2 answers

1

You performed the correct import of Libs ?

Of the one:

npm install

In that folder and there again.

0

I saw that you are installing your project in the folder: C:\windows\system32

It is not recommended to install programs or make changes to this specific folder, I suggest you start your project in your user’s directories. For example: C:\users\erickson\Documents

Another reason the command is not working is because the folder is from the system files and requires special Administrator authorization.

Browser other questions tagged

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