Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEP0155 and DEP0156 warnings during nitro build #2523

Open
HummingMind opened this issue Jun 13, 2024 · 7 comments
Open

DEP0155 and DEP0156 warnings during nitro build #2523

HummingMind opened this issue Jun 13, 2024 · 7 comments

Comments

@HummingMind
Copy link

HummingMind commented Jun 13, 2024

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
Copy link
Member

pi0 commented Jun 13, 2024

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

@HummingMind
Copy link
Author

HummingMind commented Jun 13, 2024

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
Copy link

bbauti commented Jun 19, 2024

Hey! Any updates on this?

@HummingMind
Copy link
Author

Still happening with nitro 2.9.7. 😢

@UkonnRa
Copy link

UkonnRa commented Jun 28, 2024

Same problem when nuxt build:
image

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

@ProsperBao
Copy link

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

@itpropro
Copy link
Contributor

itpropro commented Oct 6, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants