XiongAmao / vue-easy-lightbox

A tiny lightbox component for Vue.js 3.0 :tada::tada: https://xiongamao.github.io/vue-easy-lightbox/
MIT License
420 stars 69 forks source link

Nuxt3 build warning #145

Closed gyxoBka closed 9 months ago

gyxoBka commented 10 months ago

Hi!

Warning:

(node:9052) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\\node_modules\vue-easy-lightbox\package.json imported from D:\\node_modules\nitropack\node_modules.

Reproductuin: Nuxt 3.9.3

npm run build

XiongAmao commented 9 months ago

This issue was fixed in v1.18.0.

DbPtZn commented 4 months ago

老哥知道这是啥原因导致的吗?我在 nuxt3 中依赖了 immer 和 @iconify 这两个包都会产生这个错误,但排查 package.json 并没有发现双斜线、尾斜线的问题😔