Error executing React-Native init command

Asked

Viewed 197 times

0

I’m trying to create a project React Native in the MacOs for Terminal. I type the following commands in Terminal:

> cd Desktop

> mkdir curso-react

> cd curso-react/

> react-native init exercicios

After executing the command react-native init exercicios the following permission error is displayed to me:

inserir a descrição da imagem aqui

How can I solve ?

1 answer

1


The permission error in the folder has been fixed with the command sudo before the command react-native, with the complete command as follows:

> sudo react-native init exercicios

Browser other questions tagged

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