I get the Failed building JavaScript bundle error. Here is the full error:
While trying to resolve module
lottie-react-nativefrom fileC:\Users\zacha\addhoc\app\screens\UploadScreen.js, the packageC:\Users\zacha\addhoc\node_modules\lottie-react-native\package.jsonwas successfully found. However, this package itself specifies amainmodule field that could not be resolved (C:\Users\zacha\addhoc\node_modules\lottie-react-native\lib\index.js. Indeed, none of these files exist:
- C:\Users\zacha\addhoc\node_modules\lottie-react-native\lib\index.js(.native|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)
- C:\Users\zacha\addhoc\node_modules\lottie-react-native\lib\index.js\index(.native|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)