Identical code works in Processing IDE, but not from VS Code/CLI

I think I’ve figured out the issue! Turns out this error will occur if you start the name of the sketch with a number. The processing IDE automatically adds the sketch_ prefix to sketches that you save, which is why the error happened when I used vscode, but not when I used the IDE.

4 Likes