nitro icon indicating copy to clipboard operation
nitro copied to clipboard

DEP0155 and DEP0156 warnings during nitro build

Open HummingMind opened this issue 1 year ago • 7 comments

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

HummingMind avatar Jun 13 '24 18:06 HummingMind

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

pi0 avatar Jun 13 '24 19:06 pi0

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.

HummingMind avatar Jun 13 '24 21:06 HummingMind

Hey! Any updates on this?

bbauti avatar Jun 19 '24 13:06 bbauti

Still happening with nitro 2.9.7. 😢

HummingMind avatar Jun 27 '24 23:06 HummingMind

Same problem when nuxt build: image

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

UkonnRa avatar Jun 28 '24 17:06 UkonnRa

@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.

ProsperBao avatar Jul 16 '24 02:07 ProsperBao

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.

itpropro avatar Oct 06 '24 00:10 itpropro