Search code examples
node.jsvue-native

nodejs conflicting with vue native router


nodejs version 14.17.5 vue native version 0.3.0

I am developing an application that requires navigation in APP.

When i give command "npm run start" the application successfully runs.

Package.json dependencies installed: enter image description here

For navigation when i run command "npm install view-native-router" it shows the error message as below: enter image description here

Does anybody have the idea what could possibly have gone wrong? Is it a compatibility issue ?


Solution

  • It seems this is not the first time we have a peer dependency problem here and the last issue was marked as solved.

    https://github.com/GeekyAnts/vue-native-router/issues/45

    Since you have a higher version of vue-native-core in local, try add --legacy-peer-deps to npm install to see if works.