Skip to content

Commit

Permalink
Update ModuleNotFoundError.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed May 21, 2024
1 parent 9d7c207 commit a046b9f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions package/src/ModuleNotFoundError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ export class ModuleNotFoundError extends Error {
// TurboModule not found, something went wrong!
if (global.__turboModuleProxy == null) {
// TurboModules are not available/new arch is not enabled.
// react-native-mmkv 3.x.x requires new arch (react-native >0.74)
// react-native-mmkv 2.x.x works on old arch (react-native <0.74)
const message =
"Failed to initialize react-native-worklets-core: react-native-worklets-core 2.x.x requires TurboModules, but the new architecture is not enabled!";
const suggestions: string[] = [];
Expand Down

0 comments on commit a046b9f

Please sign in to comment.