Skip to content
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

Causes error in newer node version #14

Open
CalebJamesStevens opened this issue Aug 29, 2024 · 5 comments
Open

Causes error in newer node version #14

CalebJamesStevens opened this issue Aug 29, 2024 · 5 comments

Comments

@CalebJamesStevens
Copy link

Hey! The latest changes are causes a huge error with the latest versions of node
#11

Since importAttributes and importAssertions can't mix all jest testing is borked

@nicolo-ribaudo
Copy link
Owner

This was fixed in v7.25.6 of Babel (released today), which allows using the two syntax plugins together.

@CalebJamesStevens
Copy link
Author

This was fixed in v7.25.6 of Babel (released today), which allows using the two syntax plugins together.

It doesn't seem to be fixed in the new release

@nicolo-ribaudo
Copy link
Owner

Can you share your package-lock.json?

@CalebJamesStevens
Copy link
Author

Can you share your package-lock.json?

It looks like its a problem with next/babel unfortunately

@juanmigdr
Copy link

I make use of @babel/core and this is a current issue. I am able to avorcome it by adding the following resolution in my package.json:

"resolutions": {
    "babel-preset-current-node-syntax": "1.0.0"
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants