Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: site.config.js에서 profile의 role을 변경했더니 TypeError가 발생합니다. #311

Open
2 tasks done
newdoin opened this issue Dec 4, 2023 · 1 comment

Comments

@newdoin
Copy link

newdoin commented Dec 4, 2023

Describe the bug

role의 내용을 cloud-infra engineer로 변경 후 커밋하니 아래와 같은 에러가 발생합니다.

TypeError: Cannot read properties of undefined (reading '0')
--
21:49:33.476 | at /vercel/path0/.next/server/chunks/871.js:533:39
21:49:33.477 | at Array.filter (<anonymous>)
21:49:33.477 | at filterPosts (/vercel/path0/.next/server/chunks/871.js:532:6)
21:49:33.477 | at getStaticPaths (/vercel/path0/.next/server/pages/[slug].js:163:101)
21:49:33.477 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
21:49:33.477 | at async buildStaticPaths (/vercel/path0/node_modules/next/dist/build/utils.js:699:33)
21:49:33.477 | at async /vercel/path0/node_modules/next/dist/build/utils.js:1127:113
21:49:33.477 | at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:103:20)
21:49:33.479 |  
21:49:33.479 | > Build error occurred
21:49:33.482 | Error: Failed to collect page data for /[slug]
21:49:33.483 | at /vercel/path0/node_modules/next/dist/build/utils.js:1158:15
21:49:33.483 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
21:49:33.483 | type: 'Error'
21:49:33.483 | }
21:49:33.544 | error Command failed with exit code 1.
21:49:33.545 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
21:49:33.567 | Error: Command "yarn run build" exited with 1

To reproduce

See error

Browser

MacOs

Validations

@Msekoo
Copy link

Msekoo commented Apr 8, 2024

so did you resolve it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants