Breaks Server Side Rendering because of canvas
See original GitHub issueHello there,
LottieAnimationViewModule
when imported in app.module and with platform-server
breaks SSR:
throw new Error("NotYetImplemented");
^
Error: NotYetImplemented
at HTMLCanvasElement.exports.nyi
I think it’s because it imports the bodymovin library, which uses canvas, which is not implemented in Domino. Could you fix it or add some configuration option for module, to not use canvas?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
The absurd complexity of server-side rendering - Hacker News
There are cases when server-side rendering (without SPA) is easier and faster. For example: documentation sites, blog-like sites, internet stores, ...
Read more >Angular Universal: exclude node-only dependencies from ...
I'm trying to add a server-side node canvas ( "canvas": "^2.6.1" ) to render certain images on the server. I don't need this...
Read more >Static Site Generation and Server-Side Rendering Using Next.js
We're going to use Next.js (a.k.a. Next), a framework for creating React applications. We chose Next because it has a clean API and...
Read more >Server Side Rendering - Cross Platform - Apache ECharts
Server Side Rendering. Normally, Apache ECharts TM renders the chart dynamically in the browser and will re-render after user interactions.
Read more >Allowing cross-origin use of images and canvas - HTML
Because the pixels in a canvas's bitmap can come from a variety of sources ... The first thing we need is a server...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See #26 this should resolve your issue @ftanrisevdi @marcin-j
I have same issue
how can I find which library used canvas