Skip to content
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

"Module fs is not recognized" - Node modules are pulled in by Metro Bundler using this Repo #4

Open
husseinm opened this issue Sep 25, 2020 · 1 comment

Comments

@husseinm
Copy link

I attempted both on my own repo as well as by simply cloning this repo.

I made very sure to use "typeorm/browser" as the import for everything, however, I am getting errors from Metro Bundler that since one of the lines of code uses the node "fs" module that "fs is not a recognized module"

It looks as though Metro is picking up dead code that uses fs/path for TypeORM.

What can I do to fix this?

@vinipachecov
Copy link
Owner

Looks like this is been tackled in this issue: typeorm/typeorm#6739

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants