deployment seems to never finish. Testing Appwrite Sites with a standard pnpm Turborepo monorepo (npx create-turbo@latest). Repo: https://github.com/saitrogen/turborepo-monorepo-
Stack: Next.js 16.1.5, pnpm 9.0.0, Node ≥18.
Issue 1 — SSR bundler expects next.config. at repo root (monorepo gotcha)*
First attempt failed during "Bundling for SSR":
mv: can't rename '/usr/local/build/next.config.*': No such file or directory
Build archive was not created at /mnt/code/code.tar.gz
In a monorepo, next.config.js lives inside each app subfolder (web, docs), not the repo root(at leat in my knowledge- the starter came like that). Workaround: added a minimal next.config.js at repo root.
Issue 2 — Site deployed "Active" but times out on every request
After fixing Issue 1, the build succeeded and Appwrite reported deployment as Active. But visiting the URL returned a timeout on every request. Root cause found in build logs:
MODCLEAN Version 2.1.2Searching for files in /usr/local/build/apps/docs/.next/node_modules...Found 7030 files/folders to removeFILES/FOLDERS DELETED: Total 3550
Fix applied: Added output: 'standalone' to all next.config.js files (root + both apps). With standalone mode, Next.js generates a self-contained server.js in .next/standalone/ that doesn't need node_modules at runtime.
results: still the same [deployed but not reachable,stuck on finalizing]
Current Appwrite Site settings for docs:
Root directory: / (repo root) Install: pnpm install --frozen-lockfile Build: pnpm -C apps/docs build Output: ./apps/docs/.next Rendering: SSR
Questions for the team:
- Is output: 'standalone' required for Next.js SSR on Appwrite Sites, or is this a monorepo-specific issue?
- Is the next.config.* at repo root requirement documented anywhere for monorepos?
- Anything else needed to make pnpm Turborepo monorepos work on Sites?
i just wann make this work... help
please help i am student (ug ) i was actually going to introduce appwrite to class since appwrite is simple (not so bulky ) it just works simply. but now i am stuck asked help from ai , he couldnt figure it out..
Recommended threads
- Site: stuck on FINALIZING stage like for...
site is not useble , finalizing nerver finishes. repo: mono repo
- Mcp server offline?
- Storage images using custom domain retur...
Some of the images uploaded to my storage bucket returns this error: ``` { "message": "Project with the requested ID could not be found. Please check the value...