-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using in a React Native app #291
Comments
Man. There is one thing I hate more than webpack. It is the whole React infrastructure. They ruin JavaScript for everyone else.
What?
It doesn't recognize Overall, this seems to be an issue of React Native specifically or React pipeline as a whole. |
Relevant issues: Looks like there is a way to provide additional file extensions. If |
Thanks @KillyMXI , Using
They absolutely do exist. I've tried all versions of The project I'm working on is quite old, and managing the dependencies is proving difficult, so I'll look at a cruder solution as the incoming HTML is fairly static. Thank you very much for your time. |
Ah right, I forgot the bundler will have to deal with all my upstream packages as well. If you can't update the bundler itself, another way might be, perhaps, to bundle problematic dependency first by other means and use that. |
Success! The steps to solve for me were:
Thank you very much for your help with this. Its saved me lots of work maintaining two strings in parallel. |
I'm curious whether version 9 works with |
With
The project uses react-native |
So it runs, just has this warning? I found this issue: uuidjs/uuid#444 If metro is in the dependency tree, then it should be possible to find it in |
The goal
Use
html-to-text
in a React Native appBest attempt
I've installed the package, and imported the
convert
function in the relevant component.The question
run-android
andrun-ios
output the following warning:And the app crashes with the following message:
Prior research
Tried exporting
./package.json
frompackage.json
. Tried node versions from14.18.1
up to18.16.0
.The text was updated successfully, but these errors were encountered: