Skip to content

Instantly share code, notes, and snippets.

@sh4869
Last active August 29, 2015 13:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sh4869/8784668 to your computer and use it in GitHub Desktop.
Save sh4869/8784668 to your computer and use it in GitHub Desktop.
Arduinodeを使用しchromeでローカルホストに接続する時に起こるエラーレポート
--一回目
JSON parse error : SyntaxError: Unexpected end of input
/home/sh4869/heimcontrol.js/node_modules/arduinode/arduinode.js:134
throw e;
^
SyntaxError: Unexpected end of input
at Object.parse (native)
at SerialPort.<anonymous> (/home/sh4869/heimcontrol.js/node_modules/arduinode/arduinode.js:118:27)
at SerialPort.EventEmitter.emit (events.js:95:17)
at Object.module.exports.raw [as parser] (/home/sh4869/heimcontrol.js/node_modules/serialport/parsers.js:8:13)
at Object.SerialPort.options.dataCallback (/home/sh4869/heimcontrol.js/node_modules/serialport/serialport.js:136:15)
at SerialPortFactory.SerialPort._emitData (/home/sh4869/heimcontrol.js/node_modules/serialport/serialport.js:305:20)
at afterRead (/home/sh4869/heimcontrol.js/node_modules/serialport/serialport.js:283:18)
at /home/sh4869/heimcontrol.js/node_modules/serialport/serialport.js:297:9
at Object.wrapper [as oncomplete] (fs.js:454:17)
----------------------------------------------------------------------------------------
--二回目
JSON parse error : SyntaxError: Unexpected token {
/home/sh4869/heimcontrol.js/node_modules/arduinode/arduinode.js:134
throw e;
^
SyntaxError: Unexpected token {
at Object.parse (native)
at SerialPort.<anonymous> (/home/sh4869/heimcontrol.js/node_modules/arduinode/arduinode.js:118:27)
at SerialPort.EventEmitter.emit (events.js:95:17)
at Object.module.exports.raw [as parser] (/home/sh4869/heimcontrol.js/node_modules/serialport/parsers.js:8:13)
at Object.SerialPort.options.dataCallback (/home/sh4869/heimcontrol.js/node_modules/serialport/serialport.js:136:15)
at SerialPortFactory.SerialPort._emitData (/home/sh4869/heimcontrol.js/node_modules/serialport/serialport.js:305:20)
at afterRead (/home/sh4869/heimcontrol.js/node_modules/serialport/serialport.js:283:18)
at /home/sh4869/heimcontrol.js/node_modules/serialport/serialport.js:297:9
at Object.wrapper [as oncomplete] (fs.js:454:17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment