ducktors / fastify-socket.io

Fastify plugin for Socket.io
MIT License
95 stars 17 forks source link

couldn't be built successfully #138

Open JaLe29 opened 3 months ago

JaLe29 commented 3 months ago

I cant install the package

➤ YN0007: │ fastify-socket.io@npm:5.0.0 [8ab3f] must be built because it never has been before or the last one failed
➤ YN0009: │ fastify-socket.io@npm:5.0.0 [8ab3f] couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-fa62776f/build.log)
➤ YN0000: └ Completed in 2s 85ms
➤ YN0000: · Failed with errors in 3s 448ms

Detail:

# This file contains the result of Yarn building a package (fastify-socket.io@virtual:8ab3f2ddf2861660b5ab96a69d10c312102315ef717dad54328222f77c4b0007a0956c7516783f92fca08a47f9e6f22e26c3477f0edd62f0186813ff980899e8#npm:5.0.0)
# Script name: preinstall

npm ERR! cb.apply is not a function

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/desktop/.npm/_logs/2024-05-26T10_53_47_355Z-debug.log
Install for [ 'only-allow@latest' ] failed with code 1

Env:

yarn -v
4.1.1

node -v
v18.18.0