convex-js
convex-js copied to clipboard
CLI silently fails on esbuild error
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.