#deploy denied!

1 messages · Page 1 of 1 (latest)

stable forge
#

so i was getting this error this my website, so i setup an empty branch and started from scratch. I Installed "
git clone https://github.com/appwrite/starter-for-nextjs
cd starter-for-nextjs"
npm install
npm audit fix --force
npm run dev

appwrite sites create-deployment ^
--site-id ********************^
--code "." ^
--activate ^
--build-command "npm run build" ^
--install-command "npm install" ^
--output-directory "./.next"
changes in \src\lib\appwrite.js:
if (typeof window !== "undefined") {
client.setEndpoint("https://nyc.cloud.appwrite.io/v1");
}
if (process.env.NODE_ENV !== "production") {
client.setEndpoint("https://nyc.cloud.appwrite.io/v1");
}
.gitignore:
.git/
in the appwrite setting:
Build runtime: Node-18.0

and then it finally ran.

GitHub

Appwrite's starter kit for Next.js 👩‍💻. Contribute to appwrite/starter-for-nextjs development by creating an account on GitHub.

#

2025-09-07T05:36:35.180141523Z [05:36:35] [open-runtimes] Environment preparation started.
2025-09-07T05:36:35.191960451Z [05:36:35] [open-runtimes] Environment preparation finished.
2025-09-07T05:36:35.193029780Z [05:36:35] [open-runtimes] Build command execution started.
2025-09-07T05:36:36.414555594Z npm warn EBADENGINE Unsupported engine {
2025-09-07T05:36:36.414601282Z npm warn EBADENGINE package: '[email protected]',
2025-09-07T05:36:36.414606498Z npm warn EBADENGINE required: { node: '18.x' },
2025-09-07T05:36:36.414610855Z npm warn EBADENGINE current: { node: 'v22.18.0', npm: '10.9.3' }
2025-09-07T05:36:36.414615211Z npm warn EBADENGINE }
2025-09-07T05:37:07.214806853Z npm error code 127
2025-09-07T05:37:07.214874114Z npm error path /usr/local/build/node_modules/@tailwindcss/oxide
2025-09-07T05:37:07.214926228Z npm error command failed
2025-09-07T05:37:07.215212350Z npm error command sh -c node ./scripts/install.js
2025-09-07T05:37:07.215286477Z npm error Error relocating /usr/local/build/node_modules/node/bin/node: fcntl64: symbol not found
2025-09-07T05:37:07.217458912Z npm error A complete log of this run can be found in: /root/.npm/_logs/2025-09-07T05_36_35_340Z-debug-0.log
2025-09-07T05:37:12.000000000Z Build archive was not created.

quartz tide
#

looks like you have a mismatch in your node versions, have you tried lowering from node 22 to node 18?