Makeblock-official / mBlock

base on scratch offline v2.0 by MIT, Learn more from Makeblock official website
http://www.makeblock.com
GNU General Public License v2.0
323 stars 233 forks source link

error #58

Open Superwallah opened 7 years ago

Superwallah commented 7 years ago

Hi,

I would like to use mBlock 4.0.0 under this Mint Linux `$ uname -v -p -o

66~14.04.1-Ubuntu SMP Wed Oct 19 15:05:38 UTC 2016 x86_64 GNU/Linux`

with an Arduino Nano.

But after connection the serial successfully, switching to Arduino mode and clicking on "Upload to Arduino", I get the error message: A JavaScript error occurred in the main process Uncaught Exception: Error: spawn EACCES at exports._errnoException (util.js:1026:11) at ChildProcess.spawn (internal/child_process.js:313:11) at exports.spawn (child_process.js:392:9) at Object.uploadCodeToBoard (/<censored>/mBlock/resources/app.asar/app/arduinoIDE.js:120:30) at EventEmitter.<anonymous> (/<censored>/mBlock/resources/app.asar/app/mBlock.js:86:15) at emitTwo (events.js:106:13) at EventEmitter.emit (events.js:191:7) at WebContents.<anonymous> (/<censored>/mBlock/resources/electron.asar/browser/api/web-contents.js:222:13) at emitTwo (events.js:106:13) at WebContents.emit (events.js:191:7)