Closed thomas-negrault closed 4 years ago
It seems the error was not related to this library. The issue was with babel-plugin-wildcard. I clean all references to this plugin in package.json
and babel.config.js
and it's working again !
i have same issue in android and ios both in first time trigger the function . any luck how to resolve this isssue?
My project, including this library, was working fine before. I don't know what changed but I have a weird error now:
I tracked down the issue to
node_modules/react-native-animatable/index.js
When this execute:initializeRegistryWithDefinitions(ANIMATION_DEFINITIONS);
With a console.log, I see that
ANIMATION_DEFINITIONS
value isIn
registry.js
there is:so
createAnimation(definitions[animationName])
is called withundefined
. Then increateAnimation.js
there isconst positions = Object.keys(definition)
and that is the line causing the issue, because ofObject.keys(undefined)
I already tried to delete/reinstall node_modules, I tried with node 11,12 and 13 but I still have the issue. Versions: Node: v14.3.0 Npm: 6.10.3 react-native-animatable: "^1.3.3", react-native: "0.62.2",