-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Error message for invalid config is misleading #1532
Comments
|
Indeed this fixed my problem. Thank you very much. Should I leave this issue open until the error message is clearer or not ? |
Please leave it. I'll change the title. |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Describe the bug
I am using swc with rollup, therefore I am using the API, not the CLI.
I tracked down my issue to the use of the
transform
function from@swc/core
.I've removed all the code I could to narrow down the source of my problem.
Here is the code to run with
node
directly :The following error prints immediately:
The returned promises emits an error which prints as the following:
Expected behavior
The code should compile
Version
The version of @swc/core: 1.2.51
The text was updated successfully, but these errors were encountered: