Deployment Error for strapi

Nov 23 05:52:11 PM ==> Cloning from GitHub - ajaynanba/TurfApplication
Nov 23 05:52:12 PM ==> Checking out commit 5dfec2e5e1d780dcef32767658d9916f43edb306 in branch master
Nov 23 05:52:14 PM ==> Requesting node version >=18.18.0 <19.0.0
Nov 23 05:52:14 PM ==> Using Node version 18.18.2 via /opt/render/project/src/package.json
Nov 23 05:52:14 PM ==> Docs on specifying a Node version: Setting Your Node.js Version | Render Docs
Nov 23 05:52:19 PM ==> Running build command ‘npm run build’…
Nov 23 05:52:19 PM
Nov 23 05:52:19 PM > turf@0.1.0 build
Nov 23 05:52:19 PM > strapi build
Nov 23 05:52:19 PM
Nov 23 05:52:19 PM sh: 1: strapi: not found
Nov 23 05:52:19 PM ==> Build failed :disappointed:

Hi,

The strapi command isn’t being found, as you don’t appear to be installing any dependencies:

==> Running build command ‘npm run build’

A common Build Command would be:

npm install && npm run build

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.