Error starting project with React Native Expo

Asked

Viewed 4,755 times

-1

I have version 8.12.0 of Nodejs installed in Debian 9, so I installed Expo with the command npm install -g expo-cli, that at the end returned the following alerts: Alertas ao instalar Expo, via NPM

Ignoring this I created a project with the command expo init NomeProjeto. So far everything runs smoothly, but when I try to start the project with expo start the process is aborted by returning the following errors: Erros ao iniciar projeto Expo

What may be causing these mistakes, and how to solve them?

1 answer

0

Dude, try using the Boilerplate create-React-Native-app. When I use the expo I like to use with Yarn , then it would be: Yarn create React-Native-app designName.

And to run the project: Yarn start

Those expo commands I never used.

If you don’t have Yarn installed : https://yarnpkg.com/lang/en/docs/install/#debian-stable

  • I already discovered the problem, the project was not being initialized due to lack of permission in the directory, changed and worked.

Browser other questions tagged

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