Professorr-X.
WWasp
•Created by Professorr-X. on 1/26/2025 in #đŸ™‹questions
error deploying using fly.io
29.21 npm ERR! In file included from ../libusb/libusb/os/linux_usbfs.c:26:
29.21 npm ERR! ../libusb/libusb/os/linux_usbfs.h:24:10: fatal error: linux/magic.h: No such file or directory
29.21 npm ERR! 24 | #include <linux/magic.h>
29.21 npm ERR! | ^~~~~~~
29.21 npm ERR! compilation terminated.
29.21 npm ERR! make: *** [libusb.target.mk:158: Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o] Error 1
29.21 npm ERR! gyp ERR! build error
29.21 npm ERR! gyp ERR! stack Error: make failed with exit code: 2
29.21 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
29.21 npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)
29.21 npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)
29.21 npm ERR! gyp ERR! System Linux 6.12.8-fly
29.21 npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
29.21 npm ERR! gyp ERR! cwd /app/node_modules/usb
29.21 npm ERR! gyp ERR! node -v v18.18.0
29.21 npm ERR! gyp ERR! node-gyp -v v9.4.0
29.21 npm ERR! gyp ERR! not ok
29.21
29.21 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2025-01-26T11_14_39_065Z-debug-0.log
flyctl deploy --remote-only
i get this error when trying to deploy to fly.io i ran command flyctl deploy --remote-only
6 replies
WWasp
•Created by Professorr-X. on 1/25/2025 in #đŸ™‹questions
npm build error when deploying to fly.io
i am running
wasp deploy fly launch player1-app mia
[server-builder 8/11] RUN npm install && cd .wasp/build/server && npm install:
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)
npm ERR! gyp ERR! System Linux 6.12.8-fly
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /app/node_modules/usb
npm ERR! gyp ERR! node -v v18.18.0
npm ERR! gyp ERR! node-gyp -v v9.4.0
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2025-01-25T18_17_33_299Z-debug-0.log
------
Error: failed to fetch an image or build from source: error building: failed to solve: process "/bin/sh -c npm install && cd .wasp/build/server && npm install" did not complete successfully: exit code: 1
5 replies