Hi Spark community, I’m having some issues connecting to my spark core from my pc. I’ve included a screenshot showing the issue I’m having. I’m running some javascript from the command line, which I thought would list the devices I have registered to my pc, but I get the error message “spark is not defined”.
The javascript I am using is from the “Spark Docs | Javascript SDK” page. I have installed nodejs and sparkjs. Am I making some kind of basic error?
Any help anyone could give me would be appreciated!