
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.

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: 'my-app@0.1.0', 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.
Recommended threads
- React Client SDK - CORS issue for Storag...
Hi I've been working on a project for a few weeks with the React Client SDK and OAuth2.0 Google login. All has been working alright, but today I've started gett...
- rror creating Appwrite user: User (role:...
I do not understand, I have tryied everything tryable to make this error go away, I have absolutely no more ideas on how should I correct this. Anything can hel...
- My projects archived. Did not see the up...
