Unable to resolve module `./core/AnimatedFunction` from `node_modules/react-native-reanimated/src/base.js`:
See original GitHub issueI’m trying to generate a release from my app and got this error:
Loading dependency graph…error Unable to resolve module ./core/AnimatedFunction
from node_modules/react-native-reanimated/src/base.js
:
None of these files exist:
- node_modules/react-native-reanimated/src/core/AnimatedFunction(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
- node_modules/react-native-reanimated/src/core/AnimatedFunction/index(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx). Run CLI with --verbose flag for more details.
Error: Unable to resolve module
./core/AnimatedFunction
fromnode_modules/react-native-reanimated/src/base.js
:
Any ideas?
Already deleted node_modules and runned npm install again and tried to npm install the library from ground.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:14 (1 by maintainers)
Top Results From Across the Web
Unable to resolve module react-native-reanimated/src/core ...
As the error suggests react-navigation-drawer is trying to find a component which doesn't exist. Implying your versions are out of sync.
Read more >0.62.1. error: Error: Unable to resolve module `react-native ...
Upgraded project to 0.62.1. Deleted node_modules, watchman, metro cache etc. Build completes but application fails to start with the error: error: Error: ...
Read more >Module not found | Can not resolve module in react - YouTube
Your browser can't play this video. ... Module not found | Can not resolve module in react ... 21K views 1 year ago...
Read more >React Native, Typescript and VS Code: Unable to resolve ...
The problem with resolving modules turned out to be related to VS Code's typescript project helper.
Read more >Resolve | webpack
Note that this may cause module resolution to fail when using tools that symlink packages (like npm link ). webpack.config.js module.exports = {...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I checked the version in my node_modules and it’s 1.2.0 where the
createAnimatedFunction
is not present in /react-native-reanimated/src/base.js
(This will resultUnable to resolve module
error). However,createAnimatedFunction
is present in version 1.3.0 so I think upgrading the version will fix this.I had the same problem. Initially using 1.3.0 afterwards reinstall with
expo install
and get the same error message. Tried few times and finallyexpo start -c
clear the error