Details
When installing @googlemaps/react-native-driver-sdk (v0.3.0) from the git tag, npm fails with ENOVERSIONS because the package's peerDependencies require the unscoped package name react-native-navigation-sdk (>=0.10.0), while the actual published package is scoped as @googlemaps/react-native-navigation-sdk and our app currently uses that scoped name.
Steps to reproduce
- Try to install any of the tag versions
Code example
npm install --save 'git+https://github.com/googlemaps/react-native-driv
er-sdk.git#0.3.0'
Stack trace
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @googlemaps/react-native-driver-sdk@0.3.0
npm warn Found: react-native-navigation-sdk@undefined
npm warn node_modules/react-native-navigation-sdk
npm warn
npm warn Could not resolve dependency:
npm warn peer react-native-navigation-sdk@">=0.4.3" from @googlemaps/react-native-driver-sdk@0.3.0
npm warn node_modules/@googlemaps/react-native-driver-sdk
npm warn @googlemaps/react-native-driver-sdk@"git+https://github.com/googlemaps/react-native-driver-sdk.git#0.3.0" from the root project
npm error code ENOVERSIONS
npm error No versions available for react-native-navigation-sdk
npm error A complete log of this run can be found in: /Users/userName/.npm/_logs/2025-08-26T21_02_49_430Z-debug-0.log
Current installation requires either --legacy-peer-deps or aliasing which is not good.
Details
When installing
@googlemaps/react-native-driver-sdk(v0.3.0) from the git tag, npm fails with ENOVERSIONS because the package's peerDependencies require the unscoped package namereact-native-navigation-sdk(>=0.10.0), while the actual published package is scoped as@googlemaps/react-native-navigation-sdkand our app currently uses that scoped name.Steps to reproduce
Code example
Stack trace
Current installation requires either
--legacy-peer-depsor aliasing which is not good.