[0.71] Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RTNCalculator' could not be found #35876
Labels
Resolution: Answered
When the issue is resolved with a simple answer
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
When following RN documentation to set up a turbo module to a new architecture project, I am receiving the following error:
However, in Xcode my module does appear under react-codegen
Note:
I was able to generate with codegen using
generate-codegen-artifacts.js
instead ofgenerate-artifacts.js
, as it was not found inMyApp/node_modules/react-native/scripts/
. Shouldn't it be updated in the documentation?Version
0.71.0
Output of
npx react-native info
Steps to reproduce
NativeCalculator.ts
would be:Snack, code example, screenshot, or link to a repository
https://github.com/atar9500/NewArchitectureDemo
The text was updated successfully, but these errors were encountered: