We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I ran pnpm install and duplicated the .env.example as .env.local , then got error at pnpm build.
pnpm install
.env.example
.env.local
pnpm build
Looks like same issue vercel/next.js#45080
www:build: Generated 30 documents in .contentlayer www:build: info - Creating an optimized production build... next-template:build: Failed to compile. next-template:build: next-template:build: pages/_app.tsx next-template:build: `@next/font` error: next-template:build: Failed to fetch `Inter` from Google Fonts. next-template:build: next-template:build: next-template:build: > Build failed because of webpack errors next-template:build: ELIFECYCLE Command failed with exit code 1. next-template:build: ERROR: command finished with error: command (/home/linux/Github/ui/templates/next-template) pnpm run build exited (1) command (/home/linux/Github/ui/templates/next-template) pnpm run build exited (1) Tasks: 0 successful, 1 total Cached: 0 cached, 1 total Time: 2m16.794s ERROR run failed: command exited (1) ELIFECYCLE Command failed with exit code 1.
The text was updated successfully, but these errors were encountered:
I manaully deleted apps/www/.contentlayer apps/www/.next , ran pnpm dev again, it finally works.
apps/www/.contentlayer
apps/www/.next
pnpm dev
Sorry, something went wrong.
No branches or pull requests
I ran
pnpm install
and duplicated the.env.example
as.env.local
, then got error atpnpm build
.Looks like same issue vercel/next.js#45080
The text was updated successfully, but these errors were encountered: