Open codeback opened 7 years ago
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 "profiling": "timeline"
in the app/package.json
instead the package.json
.
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 for really small values width is rounded to 0 which causes the error.
I'm also facing the same issue
@PanayotCankov I see all the outputs in my html page, however, I still get the same error Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The canvas width is 0.
this only happens in some apps, while it works fine in other apps I tried it on.
I tried to change pixelPerMs
but still no luck, any ideas?
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
Uncaught DOMException: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The canvas width is 0.
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.