Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ You can run this project locally, or deploy it instantly with Vercel.
### Deploy with Vercel

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Farhamkhnz%2Fnext-shadcn-admin-dashboard)
[![Deploy to PandaStack](https://dashboard.pandastack.io/deploy-button.svg)](https://dashboard.pandastack.io/deploy?repo=arhamkhnz/next-shadcn-admin-dashboard&type=static&buildCmd=npm+run+build&outputDir=dist)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 The deploy URL parameters type=static and outputDir=dist are both incorrect for this project. next.config.mjs has no output: 'export' setting and defines server-side redirects(), so this is an SSR app β€” not a static site. next build writes to .next, not dist. Deploying with these parameters will either fail at the artifact-collection step (missing dist/) or produce a broken deployment that cannot serve server-side routes or redirects.

Suggested change
[![Deploy to PandaStack](https://dashboard.pandastack.io/deploy-button.svg)](https://dashboard.pandastack.io/deploy?repo=arhamkhnz/next-shadcn-admin-dashboard&type=static&buildCmd=npm+run+build&outputDir=dist)
[![Deploy to PandaStack](https://dashboard.pandastack.io/deploy-button.svg)](https://dashboard.pandastack.io/deploy?repo=arhamkhnz/next-shadcn-admin-dashboard&type=node&buildCmd=npm+run+build&startCmd=npm+run+start&outputDir=.next)
Prompt To Fix With AI
This is a comment left during a code review.
Path: README.md
Line: 91

Comment:
The deploy URL parameters `type=static` and `outputDir=dist` are both incorrect for this project. `next.config.mjs` has no `output: 'export'` setting and defines server-side `redirects()`, so this is an SSR app β€” not a static site. `next build` writes to `.next`, not `dist`. Deploying with these parameters will either fail at the artifact-collection step (missing `dist/`) or produce a broken deployment that cannot serve server-side routes or redirects.

```suggestion
[![Deploy to PandaStack](https://dashboard.pandastack.io/deploy-button.svg)](https://dashboard.pandastack.io/deploy?repo=arhamkhnz/next-shadcn-admin-dashboard&type=node&buildCmd=npm+run+build&startCmd=npm+run+start&outputDir=.next)
```

How can I resolve this? If you propose a fix, please make it concise.


_Deploy your own copy with one click._

Expand Down