-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JS http module causing subo build
to fail (macOS only?)
#217
Comments
subo build
to failsubo build
to fail (macOS only?)
The issue here is rooted in the honest mistake of Ramón accidentally overwriting the wrong file in the JS runnable template generated by subo. Instead of putting the runnable code in With the above, this is not a "bug" in If I read the above error message correctly there are two issues here (and a third potential one from experience working with JS runnables that should also be addressed).
A third issue that is not triggered here is a preceding step, even before we run javy we use webpack to bundle all the code into a single JS file that we compile afterwards. This step can also fail with mysterious error messages. Note that these are all compile-time issues and runtime errors are very cryptic and hard to debug themselves, but that DX issue should be handled and improved on separately. |
Thank you so much for investigating this!! |
When re-creating Flaki's subtoot project, repo for my copy, I came upon the error.
Commenting out use and importing of the
http
module from@suborbital/runnable
allows the compilation to work, so I suspect there's a problem with this module.Tested on macOS 12.14 with M1.
Error:
The text was updated successfully, but these errors were encountered: