primevue icon indicating copy to clipboard operation
primevue copied to clipboard

DEP0155 and DEP0156 warning during nuxt build in 4.0.0-rc.1

Open HummingMind opened this issue 1 year ago • 2 comments

Describe the bug

Hello PrimeVue team! Seems like a small bug in 4.0.0-rc.1:

ℹ Building Nuxt Nitro server (preset: node-server) 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. (Usenode --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. ✔ Nuxt Nitro server built

Only happens during nuxt build. Does not happen during nuxt dev or nuxt generate (nuxt build --prerender). This is when importing a theme that comes with core.

Seems to happen with NPM only. Does not happen with PNPM.

Also, I think it only happens on Windows and not on Linux. StackBlitz reproducer below runs on Linux, so you won't see the bug happen in the reproducer. Please try it yourself on a Windows machine.

Reproducer

Link

PrimeVue version

4.0.0-rc.1

Vue version

3.x

Language

TypeScript

Build / Runtime

Nuxt

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

HummingMind avatar Jun 13 '24 12:06 HummingMind

This might be a bug with Nitro (or one of its dependencies) used by Nuxt.

Submitted a bug report there.

HummingMind avatar Jun 13 '24 18:06 HummingMind

Thanks a lot, @HummingMind!

mertsincan avatar Jun 16 '24 00:06 mertsincan