pages.forEach is not a function TypeError: pages.forEach is not a function at generateForm (index.js:3074:9) at getFormHTML (index.js:3003:27) at Object.fetch (index.js:4062:35)