Open yinyinhe opened 11 years ago
Hi,
Noduino looks very interesting, thanks for creating it.
I'm trying to get everything set up but having an issue with Access-Control-Allow-Origin. Here's the console output when I try to run srv.web.js:
["info", "connecting to noduino"] Logger.js:25 ["info", "sending command through socket"] Logger.js:25 ["socket-write", "board.connect: undefined"] Logger.js:25 XMLHttpRequest cannot load http://localhost:8090/socket.io/1/?t=1351489542224. Origin http://localhost:8080 is not allowed by Access-Control-Allow-Origin.
I also notice that board.connect is undefined. I also get this error when I try the blinkled example but it works.
Thanks in advance for help,
Yin
Hi,
Noduino looks very interesting, thanks for creating it.
I'm trying to get everything set up but having an issue with Access-Control-Allow-Origin. Here's the console output when I try to run srv.web.js:
["info", "connecting to noduino"] Logger.js:25 ["info", "sending command through socket"] Logger.js:25 ["socket-write", "board.connect: undefined"] Logger.js:25 XMLHttpRequest cannot load http://localhost:8090/socket.io/1/?t=1351489542224. Origin http://localhost:8080 is not allowed by Access-Control-Allow-Origin.
I also notice that board.connect is undefined. I also get this error when I try the blinkled example but it works.
Thanks in advance for help,
Yin