Skip to content

Using parse5 in react native app #234

@makma

Description

@makma

I've tried to use parse5 in react native app and I've failed in building JS bundle because parser/parser_stream.js attempted to import the Node standard library module "stream". More info about why it is not possible here.

Whole error:

The package at ".c:\Users\martinm\Documents\React Native\RealEsta
te\node_modules\parse5\lib\parser\parser_stream.js" attempted to import the
Node standard library module "stream". It failed because React Native does not
include the Node standard library. Read more at https://docs.expo.io/versions/la
test/introduction/faq.html#can-i-use-nodejs-packages-with-expo

My question: Is there any workaround for parse5 + react native app?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions