Open AlexAndr041 opened 3 years ago
Same for me. Getting the same error
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: vue-native-core@0.3.1
npm ERR! node_modules/vue-native-core
npm ERR! vue-native-core@"0.3.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue-native-core@"^0.1.0" from vue-native-router@0.2.1
npm ERR! node_modules/vue-native-router
npm ERR! vue-native-router@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\adity\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\adity\AppData\Local\npm-cache\_logs\2021-09-25T18_03_38_436Z-debug.log
I am running into this same issue.
I got it working with the following setup. This does not seem like a reasonable solution. I also had to use npm install --force
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"expo": "~42.0.1",
"expo-status-bar": "~1.0.4",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",
"react-native-web": "~0.13.12",
"vue-native-core": "^0.1.0",
"vue-native-helper": "^0.1.0",
"vue-native-router": "^0.2.1"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"vue-native-scripts": "^0.0.16"
},
"private": true
}```
npm install vue-native-router
i have error
Could not resolve dependency: npm ERR! peer vue-native-core@"^0.1.0" from vue-native-router@0.2.1
"vue-native-core" : "^0.3.1"