[expo-cli] Error: Unable to resolve module fs from app/node_modules/@nozbe/watermelondb/adapters/sqlite/sqlite-node/Database.js: fs could not be found within the project or in these directories:
[expo-cli] node_modules/@nozbe/watermelondb/node_modules
[expo-cli] node_modules
[expo-cli]
[expo-cli] 5 | exports.default = void 0;
[expo-cli] 6 | var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
[expo-cli] > 7 | var fs = require("fs");
...
Reproducible demo or steps to reproduce from a blank project
init expo project
install and configure watermelon db using expo plugin!
Build/Submit details page URL
No response
Summary
I'm trying to run
eas publish
but I get the error it works fine when Ieas build
Managed or bare?
bare prebuild project
Environment
Error output
Reproducible demo or steps to reproduce from a blank project
init expo project install and configure watermelon db using expo plugin!
guide : https://www.themorrow.digital/blog/how-to-use-watermelondb-with-react-native-expo