Albin Larsson

Results 225 comments of Albin Larsson

`@rollup/plugin-commonjs` works for me with the commonjsOptions exclude pattern ntkoopman used (thank you). I don't understand how that works, since that should match any path longer than 0 characters. `@rollup/plugin-commonjs`...

@jrmyio Disable minification to see the real error https://github.com/vitejs/vite/issues/2139#issuecomment-802981228

It works for me, with the exact versions you listed (on Arch Linux) https://user-images.githubusercontent.com/515120/114237178-fc24cb00-9982-11eb-8dc9-3fb13de51de1.mp4 You can try reverting my last commits and if you can get the v1 or an...

Hi! Thanks for reporting this. I'm also getting blank output with that data file, although it does work in Lottie-web. Unfortunately I don't know how to fix it. lottie-node is...

Sorry to hear that! Here are both of them attached: [hbd.json.zip](https://github.com/friday/lottie-node/files/2972840/hbd.json.zip) [lottiefiles-1708-success.json.zip](https://github.com/friday/lottie-node/files/2972856/lottiefiles-1708-success.json.zip) If you or someone want to do more digging, you're very welcome to. Try to find what these...

> so i guess the problem is lottie do not loaded image when lottie-node render-png I'm sure that's not it. The issue happened without images (see above), and I developed...

Thanks for trying! lottie-node patches the lottie-web code by overriding the image load handler so that it works with node + node-canvas. Could be something related to this. I'm not...

[puppeteer-lottie](https://github.com/transitive-bullshit/puppeteer-lottie), an alternative to lottie-node was just created by @transitive-bullshit. I haven't tried it, but since it doesn't deal with Node-canvas at all it's not very likely to have this...

Feel free to play around with it and submit PRs if there are improvements that can be made.

I copied only the parts needed from @razvanmitre's PR to fix compatibility with recent Lottie-web (image loading was completely broken). Note that this issue originally had nothing to do with...