pages.forEach is not a function TypeError: pages.forEach is not a function at generateForm (index.js:2318:9) at getFormHTML (index.js:2271:27) at Object.fetch (index.js:3251:35)