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.