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

Output is not working as I'd expect #142

Closed
uxwellbeing opened this issue Jan 26, 2022 · 5 comments
Closed

Output is not working as I'd expect #142

uxwellbeing opened this issue Jan 26, 2022 · 5 comments

Comments

@uxwellbeing
Copy link

uxwellbeing commented Jan 26, 2022

Hi, I tried commend+S many times. Though the canvas-sketch is working, the .png file saved are not the same shape in the browser.

@fturcheti fturcheti changed the title Output is not working Output is not working as I'd expect Jan 26, 2022
@fturcheti
Copy link
Collaborator

Depending on the way your code is structured, this can happen. Can you share your code here?

@hjco
Copy link

hjco commented Mar 23, 2022

Same problem, output not work.

OS: Linux 5.10.105-1-MANJARO x86_64 GNU/Linux
Node version: v14.15.5
Error: Nothing in the console
Instalation mode: npm install canvas-sketch-cli -g, yarn global canvas-sketch-cli, sudo npm install -g canvas-sketch-cli
Canvas cli:

canvas-sketch sketch.js --output=output/
CANVAS_SKETCH_OUTPUT=./outputs canvas-sketch sketch.js  

Code: the sketch canvas-sketch-cli auto generate file the first time

@tomxiaa
Copy link

tomxiaa commented May 12, 2022

Does anyone have any update on this? I'm having the same issue

@L-A
Copy link

L-A commented May 16, 2022

Hi all, I've posted the most common explanation and solution in #155, which is a probably duplicate of this question. You can see it here: #155 (comment)

@mattdesl
Copy link
Owner

Going to close as the steps above should hopefully resolve things. Please comment if there is further issue.

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

6 participants