Can't resolve 'react-native-screen' module in Vue Native

- Andrés Cruz

En español
Can't resolve 'react-native-screen' module in Vue Native

An error that can occur to you when developing your applications in Vue Native and trying to work with the routes, may be that you get an error like the following when installing vue-native-router or the routing scheme that Vue offers us Native:

El error: Unable to resolve module 'react-native-screen'

Although the official documentation tells us that some react packages must be installed globally:

npm install -g react-native-reanimated react-native-gesture-handler react-native-paper

Some additional ones may be required - these are the packages you install for Vue Native Route to work properly:

npm install react-native-screens react-native-reanimated react-native-gesture-handler react-native-paper
npm install vue-native-router

As we mentioned in the entry that we created the Vue Native Router scheme
 

Andrés Cruz

Develop with Laravel, Django, Flask, CodeIgniter, HTML5, CSS3, MySQL, JavaScript, Vue, Android, iOS, Flutter

Andrés Cruz In Udemy

I agree to receive announcements of interest about this Blog.