-
Notifications
You must be signed in to change notification settings - Fork 1
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
Uncaught DOMException: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The canvas width is 0. #1
Comments
Sorry, my fault. I've write the line "profiling": "timeline" in the wrong package.json. |
It's a valid issue, if the tool finds no output, it shouldn't fail. The resolution for now is: Put the |
I get the same error message in the browser, but the output seems to be in the html page. The problem is reproducible with NS 3.3:
When running the app, I can see many "Timeline: ..." statements and looking at the html, the variable timeline seems to contain the output. |
The issue is caused by: https://github.com/PanayotCankov/timeline-view/blob/master/chart.ts#L257 |
I'm also facing the same issue |
@PanayotCankov I see all the outputs in my html page, however, I still get the same error this only happens in some apps, while it works fine in other apps I tried it on. I tried to change |
You can change pixelPerMs to 1 it should work then. |
Could you please tell which of the version is running fine? I have tested 0.0.5 & 0.0.6. None of them working. getting the same error
It has been opened since July. is it actively maintained or are there any alternate packages? |
Bump for this old thread. it is still an issue today. any chance for a fix? |
are you sure this is what's this question of html2canvas? my quesion is appear in html2canvans |
I'm getting the following error when I'm running 'tns run android | timeline-view':
Here is the generated html file:
Thanks in advance.
The text was updated successfully, but these errors were encountered: