pages.forEach is not a function TypeError: pages.forEach is not a function at generateForm (index.js:3052:9) at getFormHTML (index.js:2981:27) at Object.fetch (index.js:4003:35)