BasedHardware / OpenGlass

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

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

Open heroghost opened 3 weeks ago

heroghost commented 3 weeks 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 2 weeks ago

+1

Try to npx expo install fs but not work.