2017-04-05 17 views
0

我下面的Adafruit的羽毛第一個教程(閃爍例子),並一直停留在步驟:如何爲Azure IoT安裝吞噬工具?

gulp install-tools 

通過運行以下命令安裝Azure的物聯網中心SDK爲您的Arduino板我收到以下錯誤,我不知道如何解決它:

[16:26:50] Using gulpfile D:\PROJEKTI\NavIoT\gitSamples\iot-hub-c-feather-m0-ge 
ting-started-master\Lesson1\gulpfile.js 
[16:26:50] Starting 'install-tools'... 
[16:26:50] Starting 'install-tools-java'... 
[16:26:50] Finished 'install-tools-java' after 106 us 
[16:26:50] Starting 'install-tools-arduino'... 
... package 'arduino-1.6.11-windows.zip' already installed... 
[16:26:50] Finished 'install-tools-arduino' after 711 us 
[16:26:50] Starting 'install-tools-arduino-init-libraries'... 
events.js:160 
    throw er; // Unhandled 'error' event 
    ^

Error: spawn C:\Users\Darko ENOENT 
    at exports._errnoException (util.js:1018:11) 
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) 
    at onerror.NT (internal/child_process.js:367:16) 
    at _combinedTickCallback (internal/process/next_tick.js:80:11) 
    at process._tickCallback (internal/process/next_tick.js:104:9) 
    at Module.runMain (module.js:606:11) 
    at run (bootstrap_node.js:393:7) 
    at startup (bootstrap_node.js:150:9) 
    at bootstrap_node.js:508:3 

你也許知道這個問題的解決方案?

回答

1

我們將要爲Arduino設備淘汰一些東西。快速瀏覽 https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-arduino-huzzah-esp8266-get-started,這是Adafruit Huzzah ESP8266帶有Arduino IDE的入門體驗。 Gulp工具很方便,但很容易帶來很多新問題。

但是,M0的新教程仍在編寫中。 ETA可能會在下週舉行。如果您對新的示例代碼感興趣,您可以訪問https://github.com/Azure-Samples/iot-hub-Feather-M0-WiFi-client-app