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
node:
imports aren't supported in Node.js v14
#1867
Comments
My fault. |
I've just hit this. Seems that Node 14.13.1+ only supports I recommend re-opening this issue and either increasing the minimum Node version to v16, reverting to unprefixed paths, or making sure the |
Okay, got it: they've added support for Bumping the minimum Node version to v14.18.0 should do the trick. |
We could mention the Node version support in the rule doc to reduce confusion here: #1874 |
The rule.js file uses
node:
imports which are supported since Node.js v16, buteslint-plugin-unicorn
says it supports v14 and up.The original error message:
The issue occurs after upgrading from 42.0.0 to 43.0.2.
It's a bit confusing that the tests are passing despite that they're running with v14, too.
The text was updated successfully, but these errors were encountered: