BasedHardware / OpenGlass

Turn any glasses into AI-powered smart glasses
https://openglass.ai
MIT License
3.37k stars 423 forks source link

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

Open heroghost opened 5 months ago

heroghost commented 5 months ago

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

HaoHoo commented 4 months ago

+1

Try to npx expo install fs but not work.