pages.forEach is not a function TypeError: pages.forEach is not a function at generateForm (index.js:3050:9) at getFormHTML (index.js:2979:27) at Object.fetch (index.js:4000:35)