ewelink-api
ewelink-api copied to clipboard
fs could not be found
Failed building JavaScript bundle.
Unable to resolve module fs from /home/leohige/Documents/light/node_modules/ewelink-api/src/mixins/saveDevicesCache.js: fs could not be found within the project.
How can I fix it? I'm using react native and I'm not calling any method, only importing the lib
const ewelink = require('ewelink-api');
Hi,
I have the same issue, have you fix it ?
me too, any solution?
You need to use backend (nodejs) for use fs
so to have a blank javacsript project, i need a server project like an express basic project? i use it inside a vue js project and it works
Or you need compiler like webpack, parcel or vite
thanks for your answer, i tried with a basic webpack project, but i cant make it work, do you know any scaffold/boilerplate to start a project?