Skip to content

Cannot find native module 'Burnt' on recent React Native (0.79.2) / Expo SDK (^53.0.10) with Hermes #67

@Yuya-Arashidani

Description

@Yuya-Arashidani

Library Version

  • burnt: ^0.12.2

Environment

  • React Native Version: 0.79.2
  • Expo SDK Version: ^53.0.10
  • Platform: iOS
  • Project Setup: Generated using yarn create tamagui@latest. The application code is largely unchanged from the default starter template.
    Relevant package.json (from apps/expo):
{
  "dependencies": {
    // ... 
    "burnt": "^0.12.2",
    "expo": "^53.0.10",
    "react-native": "0.79.2"
    // ...
  }
  // ...
}

Problem Description

When running the native application on iOS, the application fails to load the Burnt native module. This occurs in a project recently scaffolded with create-tamagui@latest, with minimal modifications to the starter code.

Steps to Reproduce

  1. Create a new Tamagui application using yarn create tamagui@latest.
  2. The generated project structure includes an apps/expo workspace with burnt: ^0.12.2 as a dependency.
  3. Attempt to run the native application (e.g., using yarn native)
  4. Toast notifications do not function, and an error occurs before the toast is triggered.

Errror Messages

The following errors are observed in the console:

ERROR  Error: Cannot find native module 'Burnt', js engine: hermes
ERROR  TypeError: Cannot read property 'toast' of undefined, js engine: hermes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions