Closed Hippyjake closed 10 years ago
Did you check out the arduino-data repo already?
yup my file structure is: ~/jake/Documents/node/arduino-data ~/jake/Documents/node/ElectronIDE
Is this how they are supposed to be? Next to each other.
That looks right. Actually, the location doesn't matter as long as your settings.js is right. I just pushed back some fixes. Can you check out the latest and try again?
thx, J
Oh, wait. data path should be where arduino-data/libraries is, which looks like it's /home/jake/Documents/node/arduino-data/libraries according to your layout.
All right I got it running! time to test!
Any results? Can I close this issue?
Yes, my bad. Been super busy. Everything seems to work, I only have an uno to test.
:poop: $ npm install npm WARN package.json arduinox2@0.0.1 No repository field. npm WARN package.json execSync@1.0.1-pre No repository field.
$ node electron inside of the libraries
fs.js:659 return binding.readdir(pathModule._makeLong(path)); ^ Error: ENOENT, no such file or directory '/home/jake/sketchbook/projects/arduino-data/libraries' at Object.fs.readdirSync (fs.js:659:18) at Object.exports.loadLibraries (/home/jake/Documents/node/ElectronIDE/libraries.js:75:8) at Object. (/home/jake/Documents/node/ElectronIDE/compile.js:4:35)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/jake/Documents/node/ElectronIDE/electron.js:7:15)
My settings.js