I’m incredibly puzzled by what’s happening. There are several people mentioning this issue in the forum but it looks like those folks weren’t running yarn install.
At some point my app just started telling me that nodemon wasn’t installed, despite it being listed in the devDependencies and it being installed through yarn install.
This is all happening after I clear the cache and redeploy (or whenever I try to deploy).
Jul 21 08:54:17 AM ==> Cloning from https://github.com/funmusicplace/mirlo...
Jul 21 08:54:18 AM ==> Checking out commit ff01d84e3566447444315f2bbfa362a5ba32ac01 in branch main
Jul 21 08:54:22 AM ==> Using Node version 16.19.0 via /opt/render/project/src/.nvmrc
Jul 21 08:54:22 AM ==> Docs on specifying a Node version: https://render.com/docs/node-version
Jul 21 08:54:23 AM ==> Running build command 'yarn install && yarn migrate:deploy'...
Jul 21 08:54:24 AM yarn install v1.22.5
Jul 21 08:54:24 AM [1/4] Resolving packages...
Jul 21 08:54:24 AM [2/4] Fetching packages...
Jul 21 08:54:43 AM info @msgpackr-extract/msgpackr-extract-darwin-arm64@2.2.0: The platform "linux" is incompatible with this module.
Jul 21 08:54:43 AM info "@msgpackr-extract/msgpackr-extract-darwin-arm64@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.
Jul 21 08:54:43 AM info @msgpackr-extract/msgpackr-extract-darwin-arm64@2.2.0: The CPU architecture "x64" is incompatible with this module.
Jul 21 08:54:43 AM info @msgpackr-extract/msgpackr-extract-darwin-x64@2.2.0: The platform "linux" is incompatible with this module.
Jul 21 08:54:43 AM info "@msgpackr-extract/msgpackr-extract-darwin-x64@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.
Jul 21 08:54:43 AM info @msgpackr-extract/msgpackr-extract-linux-arm@2.2.0: The CPU architecture "x64" is incompatible with this module.
Jul 21 08:54:43 AM info "@msgpackr-extract/msgpackr-extract-linux-arm@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.
Jul 21 08:54:43 AM info @msgpackr-extract/msgpackr-extract-linux-arm64@2.2.0: The CPU architecture "x64" is incompatible with this module.
Jul 21 08:54:43 AM info "@msgpackr-extract/msgpackr-extract-linux-arm64@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.
Jul 21 08:54:43 AM info @msgpackr-extract/msgpackr-extract-win32-x64@2.2.0: The platform "linux" is incompatible with this module.
Jul 21 08:54:43 AM info "@msgpackr-extract/msgpackr-extract-win32-x64@2.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.
Jul 21 08:54:43 AM info fsevents@2.3.2: The platform "linux" is incompatible with this module.
Jul 21 08:54:43 AM info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
Jul 21 08:54:43 AM [3/4] Linking dependencies...
Jul 21 08:54:47 AM [4/4] Building fresh packages...
Jul 21 08:54:53 AM Done in 29.46s.
Jul 21 08:54:54 AM yarn run v1.22.5
Jul 21 08:54:54 AM $ DEBUG=prisma:client npx prisma migrate deploy
Jul 21 08:54:56 AM Prisma schema loaded from prisma/schema.prisma
Jul 21 08:54:56 AM Datasource "db": PostgreSQL database "blackbrd_s4t8", schema "public" at "dpg-ciompomnqqlfege07so0-a"
Jul 21 08:54:57 AM
Jul 21 08:54:57 AM 39 migrations found in prisma/migrations
Jul 21 08:54:57 AM
Jul 21 08:54:57 AM
Jul 21 08:54:57 AM No pending migrations to apply.
Jul 21 08:54:57 AM Done in 3.33s.
Jul 21 08:54:58 AM ==> Uploading build...
Jul 21 08:55:09 AM ==> Build uploaded in 9s
Jul 21 08:55:10 AM ==> Build successful 🎉
Jul 21 08:55:10 AM ==> Deploying...
Jul 21 08:55:41 AM ==> Using Node version 16.19.0 via /opt/render/project/src/.nvmrc
Jul 21 08:55:41 AM ==> Docs on specifying a Node version: https://render.com/docs/node-version
Jul 21 08:55:41 AM ==> Starting service with 'yarn staging'
Jul 21 08:55:42 AM yarn run v1.22.5
Jul 21 08:55:42 AM $ NODE_ENV=production nodemon src/index.ts
Jul 21 08:55:42 AM /bin/sh: 1: nodemon: not found
Jul 21 08:55:42 AM error Command failed with exit code 127.
Jul 21 08:55:42 AM info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Jul 21 08:55:45 AM ==> Using Node version 16.19.0 via /opt/render/project/src/.nvmrc
Jul 21 08:55:45 AM ==> Docs on specifying a Node version: https://render.com/docs/node-version
Jul 21 08:55:45 AM ==> Starting service with 'yarn staging'
Jul 21 08:55:45 AM yarn run v1.22.5
Jul 21 08:55:46 AM $ NODE_ENV=production nodemon src/index.ts
Jul 21 08:55:46 AM /bin/sh: 1: nodemon: not found
Jul 21 08:55:46 AM error Command failed with exit code 127.
Jul 21 08:55:46 AM info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I’m also disappointed by the speed at which support is responding to my private support request. I’m posting here because I haven’t heard anything particularly useful. I’m fairly sure random build failures have happened before and if I waited long enough it would just resolve itself. It’s been more than 16 hours at this point though and nothing’s changed. Here’s the full repository comparison between the last successful deploy and the current branch.
This all started with me trying to debug a minio issue, which, for what it’s worth is not resolved (my api is unable to access either a private minio instance or times out against a public one) and all has me looking at getting setup with Heroku instead.