Error build nestjs

==> Running build command ‘yarn; yarn add @nestjs/cli; yarn build’…
Mar 15 08:55:45 PM yarn install v1.22.5
Mar 15 08:55:45 PM [1/4] Resolving packages…
Mar 15 08:55:45 PM [2/4] Fetching packages…
Mar 15 08:56:13 PM info fsevents@2.3.2: The platform “linux” is incompatible with this module.
Mar 15 08:56:13 PM info “fsevents@2.3.2” is an optional dependency and failed compatibility check. Excluding it from installation.
Mar 15 08:56:13 PM error bson@5.0.1: The engine “node” is incompatible with this module. Expected version “>=14.20.1”. Got “14.17.0”
Mar 15 08:56:13 PM info Visit yarn install | Yarn for documentation about this command.
Mar 15 08:56:13 PM error Found incompatible module.
Mar 15 08:56:13 PM yarn add v1.22.5
Mar 15 08:56:13 PM [1/4] Resolving packages…
Mar 15 08:56:14 PM [2/4] Fetching packages…
Mar 15 08:56:15 PM info fsevents@2.3.2: The platform “linux” is incompatible with this module.
Mar 15 08:56:15 PM info “fsevents@2.3.2” is an optional dependency and failed compatibility check. Excluding it from installation.
Mar 15 08:56:15 PM error bson@5.0.1: The engine “node” is incompatible with this module. Expected version “>=14.20.1”. Got “14.17.0”
Mar 15 08:56:15 PM info Visit yarn add | Yarn for documentation about this command.
Mar 15 08:56:15 PM error Found incompatible module.
Mar 15 08:56:15 PM yarn run v1.22.5
Mar 15 08:56:15 PM $ nest build
Mar 15 08:56:15 PM /bin/sh: 1: nest: not found
Mar 15 08:56:15 PM error Command failed with exit code 127.
Mar 15 08:56:15 PM info Visit yarn run | Yarn for documentation about this command.
Mar 15 08:56:15 PM ==> Build failed :disappointed:

Hey,

“events” is a MacOS package: https://www.npmjs.com/package/fsevents. Render services are deployed on Linux servers.

Regards.
Jérémy, Render Support

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