Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi, my app keeps crashing at the build stage. I get the following error. Can someone please help me?
[2024-06-11 03:27:00] ╭──────────── git repo clone ───────────╼
[2024-06-11 03:27:00] │ › fetching app source code
[2024-06-11 03:27:00] │ => Selecting branch "develop"
[2024-06-11 03:27:11] │ => Checking out commit "ec7d4d631bd73d12e0a6af55a1083451123e766b"
[2024-06-11 03:27:11] │
[2024-06-11 03:27:11] │ ✔ cloned repo to /workspace
[2024-06-11 03:27:11] ╰────────────────────────────────────────╼
[2024-06-11 03:27:11]
[2024-06-11 03:27:11] › configuring build-time app environment variables:
[2024-06-11 03:27:11] GITHUB_CLIENT_ID NEXTAUTH_URL NEXT_PUBLIC_URL GOOGLE_CLIENT_ID GOOGLE_CLIENT_SECRET GITHUB_CLIENT_SECRET NEXTAUTH_SECRET SENTRY_AUTH_TOKEN NEXT_PUBLIC_CLIENT_ID NEXT_PUBLIC_SERVER
[2024-06-11 03:27:11]
[2024-06-11 03:27:11] › configuring custom build command to be run at the end of the build:
[2024-06-11 03:27:11] │ pnpm run build
[2024-06-11 03:27:11]
[2024-06-11 03:27:12] ╭──────────── buildpack detection ───────────╼
[2024-06-11 03:27:12] │ › using Ubuntu 22.04 stack
[2024-06-11 03:27:12] │ Detected the following buildpacks suitable to build your app:
[2024-06-11 03:27:12] │
[2024-06-11 03:27:12] │ heroku/nodejs-engine v0.5.3
[2024-06-11 03:27:12] │ digitalocean/node v0.4.0 (Node.js)
[2024-06-11 03:27:12] │ digitalocean/procfile v0.0.4 (Procfile)
[2024-06-11 03:27:12] │ digitalocean/custom v0.1.2 (Custom Build Command)
[2024-06-11 03:27:12] │
[2024-06-11 03:27:12] │ For documentation on the buildpacks used to build your app, please see:
[2024-06-11 03:27:12] │
[2024-06-11 03:27:12] │ Node.js v0.4.0 https://do.co/apps-buildpack-node
[2024-06-11 03:27:12] ╰─────────────────────────────────────────────╼
[2024-06-11 03:27:12]
[2024-06-11 03:27:12] ╭──────────── build caching ───────────╼
[2024-06-11 03:27:12] │ › checking for cache from a previous build
[2024-06-11 03:27:13] │ Layer cache not found
[2024-06-11 03:27:14] │ Layer cache not found
[2024-06-11 03:27:14] ╰───────────────────────────────────────╼
[2024-06-11 03:27:14]
[2024-06-11 03:27:14] ╭──────────── app build ───────────╼
[2024-06-11 03:27:14] │ ---> Node.js Buildpack
[2024-06-11 03:27:14] │ ---> Installing toolbox
[2024-06-11 03:27:14] │ ---> - jq
[2024-06-11 03:27:15] │ ---> - yj
[2024-06-11 03:27:15] │ ---> Getting Node version
[2024-06-11 03:27:15] │ ---> Resolving Node version
[2024-06-11 03:27:16] │ ---> Downloading and extracting Node v16.20.2
[2024-06-11 03:27:18] │ ---> Parsing package.json
[2024-06-11 03:27:19] │ ---> No file to start server
[2024-06-11 03:27:19] │ ---> either use 'docker run' to start container or add index.js or server.js
[2024-06-11 03:27:19] │ Project contains pnpm-lock.yaml, using pnpm
[2024-06-11 03:27:19] │ Installing node_modules using pnpm (from pnpm-lock.yaml)
[2024-06-11 03:27:19] │ unable to invoke layer creator
[2024-06-11 03:27:19] │ installing node_modules: exec: "pnpm": executable file not found in $PATH
[2024-06-11 03:27:19] │ ERROR: failed to build: exit status 1
[2024-06-11 03:27:19] │
[2024-06-11 03:27:19] │
[2024-06-11 03:27:19] │ For documentation on the buildpacks used to build your app, please see:
[2024-06-11 03:27:19] │
[2024-06-11 03:27:19] │ Node.js v0.4.0 https://do.co/apps-buildpack-node
[2024-06-11 03:27:19] │
[2024-06-11 03:27:19] │ ✘ build failed
[]
KFSys
1e6b823ea20d4cb189a34a922f5588
a78df6d867e44a458d3e9e23747988
ibrahim
mayricoak
nashurgessa
tumerseyrek
da1d14cd11434cac8303ee43a3cec6
bennyooo
Samiuddin Mohammed
HappyDarkCyanDolphin