Error installing npm install @React-navigation/stack -> expo start Disconnected

Asked

Viewed 429 times

-1

I’m new to React Active and I’m trying to install the React navigation stack using the npm install @React-navigation/stack command to use in an app project with React Active, however after running this command to install this library, gives error as if expo cli was uninstalled by this command, some deleted file do not know ;(

I need to install this library to create the application. How to proceed in this case?

See what happens in cmd when you run the npm install @React-navigation/stack command

inserir a descrição da imagem aqui

After I run this command, the expo gives error :(

inserir a descrição da imagem aqui

I really need your help! ;)

3 answers

0


I managed to solve this way by running the commands:

Npm upgrade
Npm i
Npm i (package name) -> in my example is npm install @React-navigation/stack

0

When starting the expo server through Yarn start this error in cmd

inserir a descrição da imagem aqui

0

You’re saying that RN is not installed, try to install again. If you installed and still get this error, try to create the file in another folder

Browser other questions tagged

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