convex-js icon indicating copy to clipboard operation
convex-js copied to clipboard

CLI silently fails on esbuild error

Open bstime-tol opened this issue 1 year ago • 2 comments

npx convex dev -v --once was showing a spinner with the message Bundling modules for Convex's runtime... and then ending without much indication of failure.

I monkey-patched the code under node_modules and got it to cough up the error that it seemed to have been swallowing:

esBuild error Error: The package "@esbuild/darwin-x64" could not be found, and is needed by esbuild.

Installing that package fixed the issue.

bstime-tol avatar Nov 19 '24 19:11 bstime-tol