canvas-sketch
canvas-sketch copied to clipboard
Can't create new folder with canvas
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.
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/
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
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!
- 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
2024 and i have the same problem, i execute the next command "npx canvas-sketch-cli sketch.js --new --open" and nothing happend.
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).