westmarchjournal / website

Westmarch Website
0 stars 1 forks source link

problem with _data/fetchIssues.js #12

Closed Micah-T closed 1 year ago

Micah-T commented 1 year ago

Whenever it auto-refreshes, it gives this error:

[11ty] issues is not a function (via TypeError)
[11ty]
[11ty] Original error stack trace: TypeError: issues is not a function
[11ty]     at module.exports (C:\Users\Micah\code\westmarch\_data\fetchIssues.js:64:13)
[11ty]     at TemplateData.getDataValue (C:\Users\Micah\Code\westmarch\node_modules\@11ty\eleventy\src\TemplateData.js:524:29)
[11ty]     at async TemplateData.getAllGlobalData (C:\Users\Micah\Code\westmarch\node_modules\@11ty\eleventy\src\TemplateData.js:307:18)
[11ty]     at async C:\Users\Micah\Code\westmarch\node_modules\@11ty\eleventy\src\TemplateData.js:361:26
[11ty] File changed: articles\3\3\from-the-editor.md
[11ty] File changed: _data\fetchIssues.js

I'm wondering why it does this; perhaps Eleventy is trying to cache data or something?