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.