CLI compile error - flash core said {"error":"Nothing to do?"}

I’m trying to compile a directory from the command line and I get this response:
flash core said {“error”:“Nothing to do?”}

the command I use is:
spark flash ################ firmware

firmware is the name of the directory with the source code

help…

What’s the full output of the console log?

Were the files pushed to the cloud?

The full output:
spark flash ################ firmware
Including:
firmware/TCPControl.ino
firmware/idDHT22.cpp
firmware/idDHT22.h
attempting to flash firmware to your core ################
flash core said {“error”:“Nothing to do?”}

1 Like

It’s been a few weeks since I’ve worked on this. Do I need to update the CLI on my mac?

You can try npm update -g spark-cli and test again :wink:

2 Likes

Found the problem - I had compile errors that didn’t show up with direct flash.

2 Likes

Hi @ronm ,
I have the same error message. How did you managed to find the compile errors? do you have idea why they are not displayed while I am trying to flash or compile?