You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting a resource unavailable error which I think is related to onoff. Have a look at the error message. I have checked all my other modules, and they are not causing the error.
fs.js:476
var r = binding.read(fd, buffer, offset, length, position);
^
Error: EAGAIN, resource temporarily unavailable
at Object.fs.readSync (fs.js:476:19)
at Object.fs.readFileSync (fs.js:310:28)
at Object.exports.readAIN (/usr/local/lib/node_modules/bonescript/hw_capemgr.js:214:30)
at Object.f.analogRead (/usr/local/lib/node_modules/bonescript/index.js:229:15)
at null.<anonymous> (/home/debian/node_modules/thing-client/beagle1.js:648:18)
at wrapper [as _onTimeout] (timers.js:252:14)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
Your help will be appreciated.
Thanks
Regards Guy
The text was updated successfully, but these errors were encountered:
The error occurs on line 214 of hw_capemgr.js in BoneScript, and not in onoff. It occurs when accessing the sysfs file for one of the BeagleBones analog input pins. onoff never accesses the files for analog input so I can't imagine it being in any way related to the error. onoff doesn't appear in the stack trace either. Does your application actually use onoff?
I am getting a resource unavailable error which I think is related to onoff. Have a look at the error message. I have checked all my other modules, and they are not causing the error.
Your help will be appreciated.
Thanks
Regards Guy
The text was updated successfully, but these errors were encountered: