OpenGlass icon indicating copy to clipboard operation
OpenGlass copied to clipboard

Has anyone encountered a problem with 'fs' when running on Android?

Open heroghost opened this issue 1 year ago • 2 comments

Android Bundling failed 898ms (D:\webprojects\yanjiusuo\openglass\OpenGlass\node_modules\expo\AppEntry.js) You attempted to import the Node standard library module "fs" from "sources\modules\openai.ts". It failed because the native React runtime does not include the Node standard library. Learn more: https://docs.expo.dev/workflow/using-libraries/#using-third-party-libraries

heroghost avatar Jul 06 '24 03:07 heroghost

+1

Try to npx expo install fs but not work.

HaoHoo avatar Jul 09 '24 06:07 HaoHoo

I tried npx expo install fs but no luck

spoymenov avatar Apr 24 '25 01:04 spoymenov