Unable to resolve 'react-navigation'

You must stop your node server and start it again.

Do it:

sudo lsof -n -i4TCP:8081 | grep LISTEN

It will listen of the services that are running on port 8081. By default, react native server runs on it. Then, execute the command below to kill the server process.

kill -9 <cma process id>

Finally, run your project again with

react-native run-ios 

on the project folder


React navigation is still in beta. It works for me when I use the command:

npm install --save [email protected] 

This is the latest release. https://github.com/react-community/react-navigation/releases