unjs / nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
https://nitro.unjs.io
MIT License
5.5k stars 472 forks source link

DEP0155 and DEP0156 warnings during nitro build #2523

Open HummingMind opened 3 weeks ago

HummingMind commented 3 weeks ago

Environment

node v22.1.0 npm 10.8.1 nitro 2.9.6

Reproduction

reproduction

Describe the bug

Importing some 3-rd party libraries. such as nuxt-icon and primevue 4.0.0-rc.1 and running nitro build results in multiple DEP0155 and DEP0166 node warnings. See code snippet below.

Seems to happen on Windows only and with NPM only.

Here is the link to the primevue repo where they are doing the theme imports: link

`nitro 7:24:39 AM (node:368) [DEP0155] DeprecationWarning: Use of deprecated trailing slash pattern mapping "./" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. Mapping specifiers ending in "/" is no longer supported. (Use `node --trace-deprecation ...` to show where the warning was created) (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nuxt\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules\_index.js. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs/index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.cjs/index.mjs" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.js/index.mjs" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules. (node:368) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json/index.mjs" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Working\Repos\HummingMind\node_modules\@primevue\themes\package.json imported from D:\Working\Repos\HummingMind\node_modules\nitropack\node_modules.`

Thank you!

Additional context

No response

Logs

No response

pi0 commented 3 weeks ago

Please share with a minimal reproduction i can run on a windows machine (a github repository with nitro and problematic version of dependency).

HummingMind commented 3 weeks ago

Please share with a minimal reproduction i can run on a windows machine (a github repository with nitro and problematic version of dependency).

@pi0

I have one for Nuxt: reproduction

If you need one for Nitro specifically, please let me know.

bbauti commented 2 weeks ago

Hey! Any updates on this?

HummingMind commented 1 week ago

Still happening with nitro 2.9.7. 😢

UkonnRa commented 1 week ago

Same problem when nuxt build: image

It seems a Windows-only bug, since I did not find it when using Ubuntu.