canvas-sketch icon indicating copy to clipboard operation
canvas-sketch copied to clipboard

--new command hangs

Open mckoss opened this issue 3 years ago • 2 comments

I've seen this work in the past, but now it does not.

$ canvas-sketch sketch04 --new

This hangs and I have to CTRL-C to stop the command.

I'm running on Windows 10 in Bashrc.

I note that a sketches subdirectory is created - but no file is placed within it.

mckoss avatar Oct 08 '21 09:10 mckoss

Having same issue. Node version is v14.16.1

EDIT: using Visual Studio Code terminal works like charm. Had the issue using Git for Windows as terminal

fnistri avatar Oct 13 '21 13:10 fnistri

Having same issue. Node version is v14.16.1

EDIT: using Visual Studio Code terminal works like charm. Had the issue using Git for Windows as terminal

Dude! That's it! Saved me! running canvas-sketch-cli sketch.js --new --open or npx canvas-sketch-cli sketch.js --new --open

Neither work.

Running canvas-sketch-cli sketch.js --new --open (even though I have installed globally the pkg, also doesn't work.

The only thing that works is npx canvas-sketch-cli sketch.js --new --open from VS Code terminal! ha!

marcelino-borges avatar Oct 04 '22 22:10 marcelino-borges