You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried about 10 full installs now, in every order of operation, installation, and combination avail I believe. Somehow, I keep ending up here. Everything else appears to be flawless. Backend smooth as hell. All input variables in the right place on the front to match the back, but when I finally go to build or deploy the front, I see this:
`
TypeError: result is not iterable
13:43:52.629 | at buildParams (/vercel/path0/node_modules/next/dist/build/utils.js:992:40)
13:43:52.629 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
13:43:52.629 | at async /vercel/path0/node_modules/next/dist/build/utils.js:1004:33
13:43:52.629 | at async /vercel/path0/node_modules/next/dist/build/utils.js:1134:114
13:43:52.629 | at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:147:20)
13:43:52.629 | TypeError: Cannot read properties of undefined (reading 'length')
13:43:52.629 | at /vercel/path0/.next/server/chunks/720.js:1:27895
13:43:52.629 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
13:43:52.629 | at async Object.p [as generateStaticParams] (/vercel/path0/.next/server/app/[countryCode]/(main)/collections/[handle]/page.js:1:5371)
13:43:52.629 | at async buildParams (/vercel/path0/node_modules/next/dist/build/utils.js:987:36)
13:43:52.629 | at async /vercel/path0/node_modules/next/dist/build/utils.js:1004:33
13:43:52.630 | at async /vercel/path0/node_modules/next/dist/build/utils.js:1134:114
13:43:52.630 | at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:147:20)
13:43:52.631 |
13:43:52.631 | > Build error occurred
13:43:52.633 | Error: Failed to collect page data for /[countryCode]/products/[handle]
13:43:52.633 | at /vercel/path0/node_modules/next/dist/build/utils.js:1220:15
13:43:52.634 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
13:43:52.634 | type: 'Error'
13:43:52.634 | }
13:43:52.748 | error Command failed with exit code 1.
13:43:52.749 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
13:43:52.763 | Error: Command "yarn run build" exited with 1
`
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've tried about 10 full installs now, in every order of operation, installation, and combination avail I believe. Somehow, I keep ending up here. Everything else appears to be flawless. Backend smooth as hell. All input variables in the right place on the front to match the back, but when I finally go to build or deploy the front, I see this:
`
TypeError: result is not iterable
13:43:52.629 | at buildParams (/vercel/path0/node_modules/next/dist/build/utils.js:992:40)
13:43:52.629 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
13:43:52.629 | at async /vercel/path0/node_modules/next/dist/build/utils.js:1004:33
13:43:52.629 | at async /vercel/path0/node_modules/next/dist/build/utils.js:1134:114
13:43:52.629 | at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:147:20)
13:43:52.629 | TypeError: Cannot read properties of undefined (reading 'length')
13:43:52.629 | at /vercel/path0/.next/server/chunks/720.js:1:27895
13:43:52.629 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
13:43:52.629 | at async Object.p [as generateStaticParams] (/vercel/path0/.next/server/app/[countryCode]/(main)/collections/[handle]/page.js:1:5371)
13:43:52.629 | at async buildParams (/vercel/path0/node_modules/next/dist/build/utils.js:987:36)
13:43:52.629 | at async /vercel/path0/node_modules/next/dist/build/utils.js:1004:33
13:43:52.630 | at async /vercel/path0/node_modules/next/dist/build/utils.js:1134:114
13:43:52.630 | at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:147:20)
13:43:52.631 |
13:43:52.631 | > Build error occurred
13:43:52.633 | Error: Failed to collect page data for /[countryCode]/products/[handle]
13:43:52.633 | at /vercel/path0/node_modules/next/dist/build/utils.js:1220:15
13:43:52.634 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
13:43:52.634 | type: 'Error'
13:43:52.634 | }
13:43:52.748 | error Command failed with exit code 1.
13:43:52.749 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
13:43:52.763 | Error: Command "yarn run build" exited with 1
`
What am I doing wrong here, y'all?
Beta Was this translation helpful? Give feedback.
All reactions