# Error (React Native Advanced, Networking):main module could not be resolved. None of these files exist

**URL:** <https://forum.codewithmosh.com/t/error-react-native-advanced-networking-main-module-could-not-be-resolved-none-of-these-files-exist/5602>\
**Category:** React Native\
**Created:** [June 19, 2021, 8:10am UTC](https://forum.codewithmosh.com/t/error-react-native-advanced-networking-main-module-could-not-be-resolved-none-of-these-files-exist/5602 "2021-06-19T08:10:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zacchhh](https://avatars.discourse-cdn.com/v4/letter/z/ecae2f/32.png) [@zacchhh](https://forum.codewithmosh.com/u/zacchhh)\
**Post date:** [June 19, 2021, 8:10am UTC](https://forum.codewithmosh.com/t/error-react-native-advanced-networking-main-module-could-not-be-resolved-none-of-these-files-exist/5602/1 "2021-06-19T08:10:46Z")

</div>

I get the Failed building JavaScript bundle error. Here is the full error:

> While trying to resolve module `lottie-react-native` from file `C:\Users\zacha\addhoc\app\screens\UploadScreen.js`, the package `C:\Users\zacha\addhoc\node_modules\lottie-react-native\package.json` was successfully found. However, this package itself specifies a `main` module 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)
