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.

regeneratorRuntime is not defined (after installing 3.4)

See original GitHub issue
ReferenceError: regeneratorRuntime is not defined
    at create ([...]/node_modules/zustand/index.js:156:31)

Reverting back to 3.3.3 fixes the issue.

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
dai-shicommented, Apr 7, 2021

Sorry, guys. I’ll investigate it later. Meanwhile, please keep using v3.3.3. This is just unexpected for me, thus not noted in the release note.

1reaction
gersomvgcommented, Apr 8, 2021

@dai-shi No worries, thanks for fixing it so quick! 🙏🏻 This helped me get a better grasp of how NPM install/update works with respect to semver, so for me it served a purpose 😬

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix regeneratorRuntime is not defined?
Solution · later learned that babel-polyfill is deprecated. So, to solve the regeneratorRuntime problem, do this: · Install regenerator-runtime
Read more >
`regeneratorRuntime` is not defined when running Jest test
In case you are using a setupTests.js file you can import regenerator-runtime from there:
Read more >
Parcel, how to fix the `regeneratorRuntime is not defined` error
I run into this problem in a project using Babel as soon as I added an async function, but the problem is the...
Read more >
`regeneratorRuntime` is not defined when running Jest test
Reactjs – `regeneratorRuntime` is not defined when running Jest test ... However, I've tried installing both of those packages and re-running with no...
Read more >
regeneratorRuntime is not defined mac m1 Code Example
yarn add @babel/plugin-transform-runtime --dev // yarn add @babel/runtime //.babelrc "plugins": [ ["@babel/plugin-transform-runtime", { "regenerator": true } ...
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