DEP0155 and DEP0156 warnings during nitro build
Environment
node v22.1.0 npm 10.8.1 nitro 2.9.6
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
Please share with a minimal reproduction i can run on a windows machine (a github repository with nitro and problematic version of dependency).
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.
Hey! Any updates on this?
Still happening with nitro 2.9.7. 😢
Same problem when nuxt build:
It seems a Windows-only bug, since I did not find it when using Ubuntu.
@pi0 I have been troubleshooting this issue recently and discovered that the dependency on "whatwg-url" is outdated. It may be necessary to update the upstream library.
Most of the DEP0166 errors on Windows could be fixed with unjs/mlly#278, the DEP0155 error though seem to be correct warnings, as well as the whatwg-url one and should either be reported to the package owners to fix or to the package consumers in case a new version is available.