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

Closed
weijinglin opened this issue Dec 21, 2024 · 2 comments
Closed

Failed to deploy on vercel #368

weijinglin opened this issue Dec 21, 2024 · 2 comments
Labels
deployment Deployment related issue stale Not received responses for too long

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/next@14.0.2_react-dom@18.2.0_react@18.2.0/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/next@14.0.2_react-dom@18.2.0_react@18.2.0/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/next@14.0.2_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/export/routes/pages.js:84:28)
[16:04:32.808] at async exportPageImpl (/vercel/path0/node_modules/.pnpm/next@14.0.2_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/export/worker.js:190:16)
[16:04:32.808] at async /vercel/path0/node_modules/.pnpm/next@14.0.2_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/export/worker.js:221:16
[16:04:32.808] at async Span.traceAsyncFn (/vercel/path0/node_modules/.pnpm/next@14.0.2_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/trace/trace.js:140:20)
[16:04:32.808] at async Object.exportPage (/vercel/path0/node_modules/.pnpm/next@14.0.2_react-dom@18.2.0_react@18.2.0/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

Copy link

stale bot commented Jan 3, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale Not received responses for too long label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Deployment related issue stale Not received responses for too long
Projects
None yet
Development

No branches or pull requests

1 participant