avr-pizza
avr-pizza copied to clipboard
Can't load libraries
Hi,
The concept of your project is really nice, ( thanks to google for showing me the way), and as i'm learning nodejs at the moment it's a double point!
It works great but still I met a small problem when using CLI , the libraries can't be read because of forEach() in /bin/cli.js
-
When I type this command :
avr-pizza compile -s /home/ed/Arduino/NodeManager/NodeManager.ino -l /home/ed/Arduino/libraries -a 'pro' -o ~/test -b /home/ed/arduino-1.8.3
-
I get the output : options.libraries.forEach(function(l, i) { ^
TypeError: options.libraries.forEach is not a function
at compile (/home/ed/.nvm/versions/node/v6.0.0/lib/node_modules/avr-pizza/bin/cli.js:21:21)
at handleInput (/home/ed/.nvm/versions/node/v6.0.0/lib/node_modules/avr-pizza/bin/cli.js:68:9)
at Object.
Do you have any idea which is the reason of this problem ? A problem with Node version ?