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

Vercel deployment issue #1

Open
mahettom opened this issue Jul 20, 2023 · 0 comments
Open

Vercel deployment issue #1

mahettom opened this issue Jul 20, 2023 · 0 comments

Comments

@mahettom
Copy link
Owner

mahettom commented Jul 20, 2023

First logs on Vercel was

Error: page.tsx doesn't have a root layout.
Error: Command "npm run build" exited with 1

After searching a solution without success
I switch to a previous Next.js version in eda4411

New logs

Error: The `app` directory is experimental.

Then I needed to enable the experimental appDir in next.config b45da2d

Last logs was the same that my initial issue

Error: page.tsx doesn't have a root layout.
Error: Command "npm run build" exited with 1

I gonna study next.js more in depth because I need a better understanding of the overall folder structure & behavior.

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

1 participant