You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure which of the two libraries is responsible for this error, but node is happy to require('glob'), but eslint-plugin-import reports no-unresolved and no-missing-require violations...
Looks like isaacs/node-glob@v10.3.6...v10.3.7 switched to building with tshy, but since v10.3.6 has "main", and v10.3.7 does not have "main", that's potentially a breaking change in a patch version.
An argument can be made that since engines.node is >=16 || 14 >=14.17, and all of those versions understand "exports" and don't need "main", that it's not breaking, but eslint-plugin-import doesn't yet understand "exports" (since resolve doesn't yet understand it), so that's what's causing the issue here.
For this plugin, that makes this a duplicate of #2703.
Hello,
Cross-post from isaacs/node-glob#557
I'm not sure which of the two libraries is responsible for this error, but node is happy to
require('glob')
, buteslint-plugin-import
reportsno-unresolved
andno-missing-require
violations...Environment
Anything I can do to help ?
Thanks,
David
The text was updated successfully, but these errors were encountered: