You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
react-native-reanimated/package.json was successfully found. However, this package itself specifies a main` module field that could not be resolved
#102
Open
gpbaculio opened this issue
Apr 11, 2022
· 0 comments
I am using "react-native-reanimated": "github:Kudo/react-native-reanimated#support-v8" and RN 0.68.0 without Fabric
I would get this weird error:
Error: While trying to resolve module react-native-reanimated from file /Users/glendonphilippbaculio/Desktop/marketplace-app/index.android.js, the package /Users/glendonphilippbaculio/Desktop/marketplace-app/node_modules/react-native-reanimated/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (/Users/glendonphilippbaculio/Desktop/marketplace-app/node_modules/react-native-reanimated/lib/Animated.js. Indeed, none of these files exist:
but if i do imports like this, it's fine:
import Animated from 'react-native-reanimated/src/Animated'
but the problem is other packages also uses it, i have to go to node modules and change 'react-native-reanimated' imports there which is not good thing to do, pls help
The text was updated successfully, but these errors were encountered:
I am using "react-native-reanimated": "github:Kudo/react-native-reanimated#support-v8" and RN 0.68.0 without Fabric
I would get this weird error:
Error: While trying to resolve module
react-native-reanimated
from file/Users/glendonphilippbaculio/Desktop/marketplace-app/index.android.js
, the package/Users/glendonphilippbaculio/Desktop/marketplace-app/node_modules/react-native-reanimated/package.json
was successfully found. However, this package itself specifies amain
module field that could not be resolved (/Users/glendonphilippbaculio/Desktop/marketplace-app/node_modules/react-native-reanimated/lib/Animated.js
. Indeed, none of these files exist:but if i do imports like this, it's fine:
import Animated from 'react-native-reanimated/src/Animated'
but the problem is other packages also uses it, i have to go to node modules and change 'react-native-reanimated' imports there which is not good thing to do, pls help
The text was updated successfully, but these errors were encountered: