I have been struggling in the past few days trying to get the XDK IoT to work with my Galileo board. I have flashed the SD card with the latest XDK IoT image and I get serial and Ethernet working on the board but I cannot get the code to load. I systematically get the following error when I click 'run' after having clicked 'Upload' for the Blink example :
UPLOADING: Uploading project bundle to IoT device.
Intel XDK - Message Received: run
ERROR: throw err;
ERROR: Error: Cannot find module '/node_app_slot'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
Does that ring a bell to anyone? This is very frustrating and I cannot find any information as to where the code is supposed to end up on the board (so that I can at least try to run it manually via node). The related threads mention /sketch but I don't get anything here (this is for Arduino sketches I think).
I think the code ends up under /root/.node_app_slot which is empty for me :
root@galileo:~# ls -al .node_app_slot/
drwxr-xr-x 2 root root 4096 Feb 26 01:05 .
drwxr-xr-x 4 root root 4096 Feb 26 01:05 ..
Could you help me out here?
Many thanks for your assistance!
PS: version info
Galileo image: 201502260041 (the IOT agent has been updated to the latest version via the UI).
OS: Windows 7