regeneratorRuntime is not defined (after installing 3.4)
See original GitHub issueReferenceError: 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:
- Created 2 years ago
- Reactions:4
- Comments:10 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
@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 😬