react-native-markdown-display icon indicating copy to clipboard operation
react-native-markdown-display copied to clipboard

Does not work on Android

Open jsatpingpod opened this issue 2 years ago • 2 comments

Doing the following simple steps, the react native app it is not able to start on android:

    1. yarn add react-native-markdown-display
    1. Include the sample code to render a hello word like <Markdown>{'Hello'}</Markdown>
    1. 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.

jsatpingpod avatar Jan 05 '24 00:01 jsatpingpod

getting the same error

Kevo-gmm avatar Jan 15 '24 13:01 Kevo-gmm

I don't see any error in Android. Can you try rebuilding using expo prebuild

sainjay avatar Feb 06 '24 19:02 sainjay