React-native-render-html: error: bundling failed: Error: Unable to resolve module `./Stream.js` from `node_modules/htmlparser2/lib/index.js`:

Created on 12 Jun 2020  路  1Comment  路  Source: meliorence/react-native-render-html

i upgrade to 4.2.0 because there was a warning in below version about component function.
But now my apps got error.

error: bundling failed: Error: Unable to resolve module./Stream.jsfromnode_modules/htmlparser2/lib/index.js``

how to solve it??
do we need to install NPM parser by ourself?

Most helpful comment

i delete node modules & npm install.
NOT SOLVED.

i run expo r -c just to clear cache (for react-native init apps using npm cache verify or npm cache clear)
then i exit and run npm start to start Metro bundler.
IT SOLVED.

>All comments

i delete node modules & npm install.
NOT SOLVED.

i run expo r -c just to clear cache (for react-native init apps using npm cache verify or npm cache clear)
then i exit and run npm start to start Metro bundler.
IT SOLVED.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Anitorious picture Anitorious  路  7Comments

xipgroc picture xipgroc  路  6Comments

KimJeonghun91 picture KimJeonghun91  路  4Comments

diamanthaxhimusa picture diamanthaxhimusa  路  7Comments

presencewebdesign picture presencewebdesign  路  7Comments