Skip to content

peerDependency uses unscoped "react-native-navigation-sdk" #58

@ringo-redbit

Description

@ringo-redbit

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

  1. 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/[email protected]
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/[email protected]
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.

Metadata

Metadata

Labels

priority: p0Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions