react-native-markdown-display
react-native-markdown-display copied to clipboard
Does not work on Android
Doing the following simple steps, the react native app it is not able to start on android:
-
yarn add react-native-markdown-display
-
- Include the sample code to render a hello word like
<Markdown>{'Hello'}</Markdown>
- Include the sample code to render a hello word like
-
expo run:android
The compilation fails with the following message:
Android Bundling failed 1475ms
The package at "node_modules/markdown-it/lib/index.js" attempted to import the Node standard library module "punycode".
It failed because the native React runtime does not include the Node standard library.
getting the same error
I don't see any error in Android. Can you try rebuilding using expo prebuild