After running some basic code, I get the following error:
fs: missing callback Error: ENODEV, write
I think it is with the latest version of galileo-io (that I installed today). I tested the following snippet in a different directory with an older version of the library and it works as expected.
To replicate, create a new directory on the Galileo. Go into this new directory and run npm install galileo-io. Then create a new file called test.js with the following code:
var Galileo = require ('galileo-io');
var board = new Galileo();
board.on('ready', function() {
console.log('Hello Galileo!');
});
After running some basic code, I get the following error: fs: missing callback Error: ENODEV, write
I think it is with the latest version of galileo-io (that I installed today). I tested the following snippet in a different directory with an older version of the library and it works as expected.
To replicate, create a new directory on the Galileo. Go into this new directory and run
npm install galileo-io
. Then create a new file called test.js with the following code:Save and run the file. The output is as follows: