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

Can't create new folder with canvas

Open demarchigo opened this issue 3 years ago • 6 comments

Hi, once I use te command canvas-sketch sketch-01.js --new there is not output to it.

Also, when I followed a main instruction in this forum that tells us to use this command: npx canvas-sketch src/sketch.js --new --open the scr is created but the .js isn't. Does anyone knows how to solve this? Thanks!

Also, when I installed canvas, I get several warning messages telling me the command is deprecated, but I'm not sure that is the cause.

demarchigo avatar Jul 15 '22 00:07 demarchigo

Hi, I have the same problem as you. I try this one and it works!

  • Start the tool on an existing file and change PNG export folder canvas-sketch (your-js-name.js) --output=./tmp/

stellaship93 avatar Jul 31 '22 23:07 stellaship93

Can you try to follow the steps in this comment and let me know if you have issues?

https://github.com/mattdesl/canvas-sketch/issues/96#issuecomment-1231548822

mattdesl avatar Aug 30 '22 11:08 mattdesl

Hi @mattdesl, I have the same problem and I tried every single option in the said comment and in the whole #96 discussion and when I try to create the .js it does nothing. No output whatsoever, therefore I have no error message to on from here or annything else left in my tool box to try. I hope you can help me, I'd be very thankful!

robertfromyourcastle avatar Jan 23 '23 23:01 robertfromyourcastle

  • canvas-sketch (your-js-name.js) -- Also having not output atm. I tried this canvas-sketch (your-js-name.js) --output=./tmp/ but it didnt work

@mattdesl Im using version "canvas-sketch": "^0.7.6" on a mac m1

musangowope avatar Jan 29 '23 10:01 musangowope

2024 and i have the same problem, i execute the next command "npx canvas-sketch-cli sketch.js --new --open" and nothing happend.

NelsonElias avatar Feb 07 '24 00:02 NelsonElias

UPDATE: I attempted to open a separate js file and issued the $ canvas-sketch <myfilename.js> --output=outputfolder

THAT one^ worked fine. And then I looked into the original folder that I was having trouble with--and guess what, the new output folder had been created, including the saved PNG files.

original comment:

I couldn’t find the png outputted files anywhere. And when I add —output=outFolder , no folders are created. (It’s 03.20.2024).

mrmeinfs avatar Mar 21 '24 01:03 mrmeinfs