79081192

Date: 2024-10-12 14:24:55
Score: 1
Natty:
Report link

The issue you're encountering is due to the fact that auto-linking in React Native only works with dependencies installed directly in the project, not with peerDependencies.

Explanation: peerDependencies are meant to indicate the versions of libraries that your library is compatible with, but they are not installed automatically when your library is installed. React Native's auto-linking system works with packages that are listed under dependencies in the project’s package.json. If your libraries like react-native-sqlite-2 are listed as peerDependencies, they won’t be installed automatically, and React Native won't auto-link them.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rajesh