-
Notifications
You must be signed in to change notification settings - Fork 181
Cannot find module 'babel-runtime/regenerator' #12
Comments
I follow the tuto and I don't get any errors... |
Interesting, I'll give it another shot sometime. Thanks! |
This is strange, as I also get the error, there is always some chatter over at gatsby saying its a known problem but I haven't seen any workaround or fix. So I would be happy to know if somebody fixed it and how ? A lot of the replies are saying to use node > 8 and not node 4. I am on Node 10 |
@appsolutegeek That's interesting, maybe it's an issue with Node 10. @lauriejim what version of Node where you using? |
Hi, There is some talk of the issue / similar issue here gatsbyjs/gatsby#1905 One of the suggestion was to upgrade to gatsby beta, this does not work. Although all other plugins don't seem to have this problem. I hope we can get to the bottom of this as its stopping me from implementing strapi. Would be interesting to know what versions of node - others are using that don't have the problem, if it's truly related to the node version. |
Hi, I just went back to 8.11.2 ➜ my-new-blog node --version and same issue.
|
I used node 9 for my test. |
Ok I am trying now with node 9 - I will report back. |
Same problem for me,
and here is my gasby-config.js (removing the strapi plugin - allows me to do gatsby develop again).
|
I'm having the same problem with the gatsby strapi tutorial. Gatsby was running just fine. Changed gatsby-config.js based on instructions and couldn't restart the server. My config file is exactly the same as @appsolutegeek's (except for |
So, I installed the latest plugin as I noticed there were some PR merged in. And now it appears to work. Well, I certainly didn't get the error. Does anyone know what was fixed ? There was no update here, I just thought of updating to see if there was any improvement - and it seems I got lucky :-) Would be nice to know what the problem was though. |
I ran into this issue and it turned out I accidentally installed this plugin in the parent directory. When following the tutorial mentioned above, you will have the following directory structure:
I accidentally installed into the |
Following the gatsby/strapi tutorial and I am running into an error message:
Cannot find module 'babel-runtime/regenerator'
The message only shows up after I update gatsby-config.js with the gatsby-source-strapi plugin info.
Using Node 10.6.0 and npm 6.1.0.
The text was updated successfully, but these errors were encountered: