react-native-builder-bob
react-native-builder-bob copied to clipboard
Cannot find module '*' or its corresponding type declarations.ts
Environment
Latest npx project build im using node 14.17
Description
despite adding a library dependency to deps, peerdeps, & devDeps (in this case ramba) i still get an error when attempting to import the dep.
Reproducible Demo
https://www.dropbox.com/s/roa64r7fm7x7051/react-native-ui.zip?dl=0
Have you tried to create a ts declare file? (*.d.ts) I had the same problem with expo dependencies in the example project and create a such file solved my job failing issue.
./decs.d.ts
add declare module 'package-name';
Hope it could be usefull. Good luck +