You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yarn run build in packages/nouns-webapp works fine and I can serve the build files locally using serve -s build. It's on Vercel that yarn run build is crashing:
[08:03:23.979] gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
[08:03:23.979] ../hidapi/linux/hid.c:44:10: fatal error: libudev.h: No such file or directory
[08:03:23.979] #include <libudev.h>
[08:03:23.980] ^~~~~~~~~~~
[08:03:23.980] compilation terminated.
[08:03:23.980] make: *** [Release/obj.target/hidapi-linux-hidraw/hidapi/linux/hid.o] Error 1
[08:03:23.981] gyp ERR! build error
[08:03:23.981] gyp ERR! stack Error: `make` failed with exit code: 2
[08:03:23.981] gyp ERR! stack at ChildProcess.onExit (/vercel/path0/node_modules/node-gyp/lib/build.js:194:23)
Goal here is to deploy the webapp on any hosting service!
The text was updated successfully, but these errors were encountered:
jackdishman
changed the title
Deployment: Failing due to libdev.h
Deployment: Failing
Jun 13, 2023
Wanted to ping you here as well in-case the discussions thread didn't notify you (ref: nounsDAO#685 (comment)).
tl;dr: I'm fairly sure the issue is system libraries being unavailable in the Vercel build environment, the comment I posted in the discussion should have pointers to get you going though. I hope it's helpful!
yarn run build in packages/nouns-webapp works fine and I can serve the build files locally using serve -s build. It's on Vercel that yarn run build is crashing:
Goal here is to deploy the webapp on any hosting service!
The text was updated successfully, but these errors were encountered: