error fsevents@2.3.2: The platform "linux" is incompatible with this module.

Hello, nice to meet you.
It’s been about half a year since I started studying Ruby.
[What I want to achieve]
I want to resolve the error and deploy to
【current situation】
When I enter the fly.deploy command I get the following error:

mizunotakahiro@mizunotakahironoMacBook-Air attendace-system % fly deploy
==> Verifying app config
→ Verified app configs
==> Building image
Remote builder fly-builder-throbbing-star-9219 ready
==> Creating build context
→ Creating build context done
==> Building image with Docker
→ docker host: 20.10.12 linux x86_64
Sending build context to Docker daemon 277kB
[+] Building 19.8s (21/25)
=> [internal] load remote build context 0.0s
=> copy /context / 0.1s
=> resolve image config for experimental 1.8s
=> CACHED docker-image:// 0.0s
=> [internal] load metadata for Quay 0.7s
=> [base 1/6] FROM Quay 0.0s
=> CACHED [base 2/6] RUN mkdir /app 0.0s
=> CACHED [base 3/6] WORKDIR /app 0.0s
=> CACHED [base 4/6] RUN mkdir -p tmp/pids 0.0s
=> CACHED [base 5/6] RUN curl | bash 0.0s
=> CACHED [base 6/6] RUN volta install node@19.4.0 yarn@1.22.19 && gem update --system 0.0s
=> CACHED [build_deps 1/1] RUN --mount=type=cache,id=dev-apt-cache,sharing=locked,target=/ 0.0s
=> [node_modules 1/3] COPY packagejson ./ 0.0s
=> CACHED [stage-4 1/8] RUN --mount=type=cache,id=prod-apt-cache,sharing=locked,target=/va 0.0s
=> CACHED [gems 1/2] COPY Gemfile
./ 0.0s
=> CACHED [gems 2/2] RUN bundle install && rm -rf vendor/bundle/ruby//cache 0.0s
=> CACHED [stage-4 2/8] COPY --from=gems /app /app 0.0s
=> CACHED [stage-4 3/8] COPY --from=gems /usr/lib/fullstaq-ruby/versions /usr/lib/fullstaq 0.0s
=> CACHED [stage-4 4/8] COPY --from=gems /usr/local/bundle /usr/local/bundle 0.0s
=> [node_modules 2/3] COPY yarn.
./ 0.0s
=> ERROR [node_modules 3/3] RUN yarn install 16.9s

[node_modules 3/3] RUN yarn install:
#21 1.029 yarn install v1.22.19
#21 1.214 warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. -lock.json.
#21 1.223 [1/4] Resolving packages…
#21 1.626 [2/4] Fetching packages…
#21 16.15 error fsevents@2.3.2: The platform “linux” is incompatible with this module.
#21 16.17 error Found incompatible module.
#21 16.17 info Visit yarn install | Yarn for documentation about this command.

Error failed to fetch an image or build from source: error building: executor failed running [/bin/bash -o pipefail -c yarn install]: exit code: 1

I searched a lot about linux, but I couldn’t solve it.
If anyone knows, please lend me your strength.
Thank you.

Was self resolved.