-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Description
Description
Currently when I run gatsby develop
I get an error TypeError: asyncRequires.components is undefined.
The error comes from .cache/loader.js:71
68 | // Find resource
69 | let resourceFunction
70 | if (resourceName.slice(0, 12) === `component---`) {
> 71 | resourceFunction = asyncRequires.components[resourceName]
72 | } else if (resourceName.slice(0, 9) === `layout---`) {
73 | resourceFunction = asyncRequires.layouts[resourceName]
74 | } else {
I've tried removing the cache, but the issue just comes back.
Running gatsby build
works as far as I'm aware, gatsby serve
appears to work, but gives no cli feedback as to where it's serving.
I'm also quite unsure as to what cause the issue, since I just wanted to run gatsby develop
in a directory where it worked fine yesterday. I've already done a git reset to make sure that it wasn't caused by something I accidentally did.
Environment
Gatsby version: 1.1.27
Node.js version: 6.11.2
Operating System: Windows 10
File contents (if changed):
I use gatsby-source-contentful
. But nothing changed since the commands last worked
Thanks for taking a look at this,
Vincent