question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Web: Keyframe.js: Cannot read property 'params' of undefined react-native-reanimated/plugin.js:308:36

See original GitHub issue

Description

Expected behavior

work

Actual behavior & steps to reproduce

Web crashing

Maybe the problem is here

  const workletFunction = t.functionExpression(
    t.identifier(name),
    fun.program.body[0].expression.params,
    prependClosureVariablesIfNecessary(
      closureVariables,
      fun.program.body[0].expression.body
    )
  );

Snack or minimal code example

Package versions

name version
react-native 0.67.2
react-native-reanimated 2.4.1
NodeJS 4.18.1
Xcode
Java
Gradle
expo
react-native-web. 0.17.6
react-scripts 5.0.0

Affected platforms

  • Android
  • iOS
  • Web

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
467057463commented, Jun 4, 2022

i also white this error in react native web

TypeError: D:\work\blog_rn_web\node_modules\react-native-reanimated\lib\reanimated2\layoutReanimation\animationBuilder\Keyframe.js: Cannot read property 'params' of undefined
1reaction
hosseinmdcommented, May 11, 2022

i have a script for this if you want a can share it

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Cannot read property 'params' of undefined in ...
I found the answer to this incase anyone is looking - thanks to this post: useParams hook returns undefined in react functional component....
Read more >
keyframes - CSS: Cascading Style Sheets - MDN Web Docs
This can be used to animate an element from its initial state and back. Properties that can't be animated in keyframe rules are...
Read more >
Keyframe.js: Cannot read property 'params' of undefined react ...
Web : Keyframe.js: Cannot read property 'params' of undefined react-native-reanimated/plugin.js:308:36.
Read more >
cannot read properties of undefined (reading 'params')
You.com is an ad-free, private search engine that you control. Customize search results with 150 apps alongside web results. Access a zero-trace private ......
Read more >
React TypeError: Cannot read property function of undefined
SET YOUR LIKE THERE ... Your browser can't play this video. ... Solved: React TypeError: Cannot read property function of undefined.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found