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

Failed to deploy on vercel #368

Open
weijinglin opened this issue Dec 21, 2024 · 1 comment
Open

Failed to deploy on vercel #368

weijinglin opened this issue Dec 21, 2024 · 1 comment
Labels
deployment Deployment related issue

Comments

@weijinglin
Copy link

This is ERROR log.
[16:04:32.807] Error occurred prerendering page "/[slug]". Read more: https://nextjs.org/docs/messages/prerender-error
[16:04:32.807] Error: Cannot find module './basic/en-US,zh-CN.json'
[16:04:32.807] at /vercel/path0/.next/server/pages/_app.js:1:339
[16:04:32.807] at async C.getInitialProps (/vercel/path0/.next/server/pages/_app.js:6:998)
[16:04:32.807] at async ea (/vercel/path0/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:16:5072)
[16:04:32.807] at async e8 (/vercel/path0/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3831)
[16:04:32.808] at async exportPages (/vercel/path0/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/export/routes/pages.js:84:28)
[16:04:32.808] at async exportPageImpl (/vercel/path0/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/export/worker.js:190:16)
[16:04:32.808] at async /vercel/path0/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/export/worker.js:221:16
[16:04:32.808] at async Span.traceAsyncFn (/vercel/path0/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/trace/trace.js:140:20)
[16:04:32.808] at async Object.exportPage (/vercel/path0/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/export/worker.js:220:20)

@weijinglin weijinglin added the deployment Deployment related issue label Dec 21, 2024
@weijinglin
Copy link
Author

I fix lang config in blog.config.js and the problem is disappeared. So how can I set multiply language for my deployment.

image

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

No branches or pull requests

1 participant