RN - Unable to resolve module fs
from node_modules/dotenv/lib/main.js
in 0.2.26
#6758
Labels
fs
from node_modules/dotenv/lib/main.js
in 0.2.26
#6758
Issue type:
[X] bug report
[ ] feature request
[ ] documentation issue
Database system/driver:
[ ]
cordova
[ ]
mongodb
[ ]
mssql
[ ]
mysql
/mariadb
[ ]
oracle
[ ]
postgres
[ ]
cockroachdb
[ ]
sqlite
[ ]
sqljs
[X]
react-native
[ ]
expo
TypeORM version:
[ ]
latest
[ ]
@next
[X]
0.2.26
(or put your version here)Steps to reproduce or a small repository showing the problem:
in a
react-native
app installing and using typeorm at version0.2.26
results in a crash with metro:(in
typeorm@0.2.25
i get the errorUnable to resolve module
urlfrom
node_modules/typeorm/browser/util/OrmUtils.js`` wich i wont get in 0.2.26)I temporary switched back to 0.2.24 what resolves the issues.
My guess is, that a new version of dotenv is requireing the fs moudle, what makes it uncompatible with react-native - what makes typeorm incompatible with RN itself.
The text was updated successfully, but these errors were encountered: