Closed RobinTail closed 6 months ago
Same problem nuxt:
This was an upstream issue (https://github.com/wooorm/import-meta-resolve/issues/27) which is resolved in v4.1.0 of import-meta-resolve
, but because mlly
inline import-meta-resolve
, it may take a little while for the fix to percolate downward.
Fix already merged via https://github.com/unjs/mlly/pull/249
https://github.com/unjs/mlly/releases/tag/v1.7.0
For nuxt users, you need a new nuxi release please followup via https://github.com/nuxt/cli/issues/405
For your information, this warning appears when running
vitest
in Node 22 environment:I managed to figure out that it comes from
mlly
being the dependency ofvitest
:The exact statement causing the issue is not present in the source code of
mlly
, but is generated in its build/distribution byrollup
:Consider upgrading
rollup
and its relatives, or adjust the line of code that may lead to that statement in production.There is also a duplication of
rollup
in your lock file:https://github.com/unjs/mlly/blob/c282adb509cdb6a96343095504d6feeffd65217b/pnpm-lock.yaml#L2171-L2176