christopherdro / christopherdro/react-native-html-to-pdf

Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'HtmlToPdf' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes

Open
#339 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
461
Forks
273
PR merge metrics
No merged PRs in 30d

Description

### Before submitting a new issue

- [x] I tested using the latest version of the library, as the bug might be already fixed.
- [x] I tested using a [supported version](https://github.com/reactwg/react-native-releases/blob/main/docs/support.md) of react native.
- [x] I checked for possible duplicate issues, with possible answers.

### Bug summary

Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'HtmlToPdf' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes

### Library version

1.0.3

### Environment info

```shell
no
```

### Steps to reproduce

1. …
2. …

### Reproducible example repository

no

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the error with library version 1.0.3 on a supported React Native version; the issue provides no environment details, file names, tests, or usable reproduction steps. Trace where the HtmlToPdf native module is expected to be registered and verify the module is available in the native binary. Done means the reported example can call HtmlToPdf without the TurboModuleRegistry invariant violation.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.