Got this error when switched to 0.10.0 version: (already did npm i and link, but it keeps breaking)
bundling failed: Error: Unable to resolve module ./FBAppInviteDialog from /home/lazar-he/projects/react-native/vinsent-react-native/node_modules/react-native-fbsdk/js/index.js: The module ./FBAppInviteDialog could not be found from /home/lazar-he/projects/react-native/vinsent-react-native/node_modules/react-native-fbsdk/js/index.js. Indeed, none of these files exist:
/home/lazar-he/projects/react-native/vinsent-react-native/node_modules/react-native-fbsdk/js/FBAppInviteDialog(.native||.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)/home/lazar-he/projects/react-native/vinsent-react-native/node_modules/react-native-fbsdk/js/FBAppInviteDialog/index(.native||.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)can you try running the packager by resetting the packager cache? react-native start --reset-cache
Thank you very much, that solved the problem :)
Most helpful comment
can you try running the packager by resetting the packager cache?
react-native start --reset-cache