'TurboModuleRegistry' is not exported from 'react-native' react-native-web
See original GitHub issueDescription
I am getting this error:
Failed to compile.
./node_modules/react-native-reanimated/src/reanimated2/NativeReanimated.js
Attempted import error: 'TurboModuleRegistry' is not exported from 'react-native'.
I upgraded react native to 0.63.3, and used react-native-reanimated version 2.0.0-alpha.7
I am getting this error for react-native-web.
Thanks.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:17 (5 by maintainers)
Top Results From Across the Web
React Native/Typescript - Error Module '"react-native"' has no ...
In my case I needed to update my @types/react-native dependency in package.json to "@types/react-native": "^0.63.25",.
Read more >Turbo Native Modules
import {TurboModuleRegistry} from 'react-native'; export interface Spec extends TurboModule { add(a: number, b: number): Promise<number>; }
Read more >react-native-web - npm
Start using react-native-web in your project by running `npm i ... You'll notice that there is no reference to react-dom in components.
Read more >react-native-web - Libraries - cdnjs - The #1 free and open ...
https://cdnjs.cloudflare.com/ajax/libs/react-native-web/0.18.10/exports/ ... -native-web/0.18.10/vendor/react-native/TurboModule/TurboModuleRegistry.min.js.
Read more >React Native for Web
React Native Components and APIs on the Web · Accessible HTML. Support different devices and input modes, render semantic tags. · High-quality interactions....
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
@jakub-gonet Using
patch-package
with your latest commits resolved the warning for me. Thanks!Actually, I didn’t try the alpha version. I was trying the 1.13 and 1.13 is working now after I changed the sdkVersion in app.json