You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error when trying to build a basic filter
svg.filter.js:16 Uncaught TypeError: Class constructor Element cannot be invoked without 'new'
at new Filter (svg.filter.js:16)
at Defs.filter (svg.filter.js:316)
at Use.filterWith (svg.filter.js:336)
I don't understand why this error occurs, because svg.filter.js:316 clearly has a new:
I think the transpilation step might mess up stuff here. Maybe I have to update the toolchain and rebuild. You can try using the esm versions. That should work
Sounds good. As my filter needs were simple, I've switched to using .animate().during() and setting CSS filters for now, so no rush for me. But thought it might be helpful to know the situation.
I'm getting the following error when trying to build a basic filter
I don't understand why this error occurs, because
svg.filter.js:316
clearly has anew
:My code:
(
robot
is anSVG.Use
object.)package.json
dependencies:HTML:
Am I missing something obvious?
The text was updated successfully, but these errors were encountered: