react-anime
react-anime copied to clipboard
Check the render method of `Anime`.
I am getting an error using this library using v8.9.4 of Node.
import Anime from 'react-anime';
....
<Anime delay={(e, i) => i * 100}
scale={[.1, .9]}>
<div className="blue"/>
<div className="green"/>
<div className="red"/>
</Anime>
This may be because I am using Gatsby, which may require one to transpile to es5 before using a library but I am not sure.
Hey! I have the same problem and I'm also using Gatbsy, have you found a solution?
update your node version to 9.4.0 it will fix your problem.
I had this problem on the latest release (2.1.0). Downgrading to v2.0.1 worked for me.
So for how long should we be using v2.0.1 until this is fixed?
Any word on when or if this issue will be resolved? Node 9.4.0 is not an option for me at the moment so I'm still with 2.0.1.
Might make sense to update package.json if a certain node version is required.see engines. Attempted with node 9.6.1 same error.
Getting the same error running this as well. Only thing that helped was going back to v2.0.1 as @susannepeng suggested.
Any plans for a fix for this in future releases?
Any news on this getting fixed as still appears too apparent on gatsby
Issue doesn't only affect gatsby