Particle CLI compile error

Hi Guys,

After upgrading my particle cli by using sudo npm update -g particle-cli I get the following error when I try to compile a local folder for the Electron:

particle compile electron folder_name --saveTo firmware.bin
Including: attempting to compile firmware Compile failed. Exiting. build.mk:37: *** "No sources found in ". Stop. make: *** [user] Error 2

Anyone knows what is going one? Even the simplest source file gives this error.

Thanks!

I can confirm that.
Tried for Electron and Photon
node 4.2.4
CLI 1.14.0

Thoughts @jvanier?

--saveTo broke. I’ll take a look. Thanks for reporting.

Version 1.14.1 fixes this issue. You can upgrade with sudo npm update -g particle-cli

1 Like