-
-
Notifications
You must be signed in to change notification settings - Fork 532
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
The latest version of @swc/core has made a break change, resulting in ts-node reporting an error. #2059
Comments
An example of running an error message : atorber/chatflow#40 |
I think this is the same as #2056. |
Here's the error |
Is there any release date planned soon? SWC new version is 1.3.100 and I had to lock the version to 1.3.82 because this is not still released |
@SalvatorePreviti |
Thank you, you are right, it works |
…ing to validate swc compiler options"; fixes TypeStrong#2059
"ts-node": "^10.9.1"
"@swc/core": "^1.3.78" is ok,but subsequent versions will report errors.
The peerDependencies declaration in the ts node/package.json file will cause the installation of the latest dependent package instead of the specified one.
"peerDependencies": {
"@swc/core": ">=1.2.50",
"@swc/wasm": ">=1.2.50",
"@types/node": "*",
"typescript": ">=4.2"
}
The text was updated successfully, but these errors were encountered: