pages.forEach is not a function TypeError: pages.forEach is not a function at generateForm (index.js:3078:9) at getFormHTML (index.js:3007:27) at Object.fetch (index.js:4078:35)