With the “LEDs over internet” example loaded, compiling gives me an error:
Uncaught TypeError: Cannot read property ‘replace’ of undefined
The error was thrown from the spark-dev package. Atom is out of date: 1.5.1 installed; 1.7.3 latest. Upgrading to the latest version may fix this issue.
Particle-Dev 1.5.1 does seem the latest version, so no idea what I can do to fix this.
Have you made sure the directory you’re in contains only the files necessary for this project, nothing else?
Yep, one folder, one .ino file in that folder, nothing else.
Try checking for filenames that contain spaces (even in subdirectories of the project folder). That was tripping me up.
@dperrigan: dude! you made my day, replaced spaces with underscores and now it compiles fine. Thanks!
Glad you got it working. As a general rule, try to avoid any black spaces in names, it’s not worth the hassle it might create
Yeah, thanks for the advice. Though I think Particle better steps up the engineering, we’re living in 2016 and I hadn’t had to worry about stuff like this for years ! Anyway, at least I can do stuff now.