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
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...