Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create new folder with canvas #161

Open
demarchigo opened this issue Jul 15, 2022 · 6 comments
Open

Can't create new folder with canvas #161

demarchigo opened this issue Jul 15, 2022 · 6 comments

Comments

@demarchigo
Copy link

demarchigo commented Jul 15, 2022

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.

@stellaship93
Copy link

stellaship93 commented Jul 31, 2022

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/

@mattdesl
Copy link
Owner

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

#96 (comment)

@robertfromyourcastle
Copy link

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!

@musangowope
Copy link

musangowope commented Jan 29, 2023

  • 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

@NelsonElias
Copy link

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

@mrmeinfs
Copy link

mrmeinfs commented Mar 21, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants