-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Import attributes break message exporting #4489
Comments
Also just ran into this! We actually used the I'm downgrading to Node 20 as we speak, as |
I believe the solution is to upgrade TypeScript package used by |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Thank you creating this package. As an open source maintainer myself I know it can be a thankless task. But bots that automatically close issues before triage is pretty hostile for end users :( |
@brawaru I can't repro from the link you posted using the latest |
@longlho oh, seems that it's fixed by some update, then. Though, doesn't seem that the relevant code changed at all, perhaps it's just a transitive dependency update that fixed it (TypeScript?). Either way, that's great 🥳 Thank you for looking into this! ❤️ I'll close this as complete. |
Which package?
@formatjs/cli@6.2.12
Describe the bug
When import attributes are used in the code,
@formatjs/cli
fails to extract messages despitetsc
being able to successfully check the file.The following errors are printed to console:
To Reproduce
Codesandbox URL
https://stackblitz.com/edit/node-by7zrp?file=package.json
Reproducible Steps/Repo
b.mts
with contents like:a.mts
with contents like:a.mts
Expected behavior
Extraction completes without errors and yields a file
output.json
with contents:Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/D
The text was updated successfully, but these errors were encountered: