Yarn optional dependancies? do I need them? crashing my heroku build

Trying to deploy on heroku, but it failed and aborted. Only thing I found out was that these yarn optional dependencies are crashing it and are not needed.

[2/4] Fetching packages…
info [email protected]: The platform “linux” is incompatible with this module.
info “[email protected]” is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform “linux” is incompatible with this module.
info “[email protected]” is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies…

rake aborted!
Errno::ENOENT: No such file or directory @ dir_initialize - /tmp/build_f4389500_/app/assets/javascripts/libraries

Anyone have any idea how to correct this?

Thanks,
Joe

ok i figured out why it was crashing. I installed hotwire-turbo, but it failed to push the empty library folder over to github - and that crashed heroku.

I put a dummy file in there and pushed the folder.