react-anime icon indicating copy to clipboard operation
react-anime copied to clipboard

Check the render method of `Anime`.

Open hassanshaikley opened this issue 6 years ago • 10 comments

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.

hassanshaikley avatar Jan 18 '18 00:01 hassanshaikley

Hey! I have the same problem and I'm also using Gatbsy, have you found a solution?

nativix avatar Jan 21 '18 00:01 nativix

update your node version to 9.4.0 it will fix your problem.

rraghav1 avatar Jan 25 '18 21:01 rraghav1

I had this problem on the latest release (2.1.0). Downgrading to v2.0.1 worked for me.

susannepeng avatar Jan 31 '18 05:01 susannepeng

So for how long should we be using v2.0.1 until this is fixed?

JoaoTMDias avatar Feb 21 '18 00:02 JoaoTMDias

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.

albertcarrete avatar Mar 01 '18 00:03 albertcarrete

Might make sense to update package.json if a certain node version is required.see engines. Attempted with node 9.6.1 same error.

miguel-orange avatar Mar 01 '18 05:03 miguel-orange

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?

systemlevel avatar Jul 14 '18 18:07 systemlevel

Any news on this getting fixed as still appears too apparent on gatsby

elliotrpmorris-zz avatar Aug 19 '18 15:08 elliotrpmorris-zz

Issue doesn't only affect gatsby

chiumax avatar Sep 03 '18 02:09 chiumax

How do you bounce back to v2.0.1 ?

EDIT sudo npm [email protected]

lobstrio avatar Sep 14 '18 13:09 lobstrio