unplugin / unplugin-vue-components

📲 On-demand components auto importing for Vue
https://www.npmjs.com/package/unplugin-vue-components
MIT License
3.65k stars 341 forks source link

0.27.0 version, can not auto import element-plus #766

Open wade3po opened 3 weeks ago

wade3po commented 3 weeks ago

Describe the bug

use 0.27.0, auto import faile, use 0.26.0 is success. But, same project, same node version, in my computercan't work, on other computer can. I have try use three computer test, only my computer can appear. Copy an entire project from someone else's computer, includes node_modules, failed. I saw someone else on the issue: https://github.com/unplugin/unplugin-vue-components/issues/752

Reproduction

https://github.com/wade3po/element-plus-test

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
    Memory: 4.23 GB / 15.73 GB
  Binaries:
    Node: 18.12.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (123.0.2420.97)
    Internet Explorer: 11.0.22621.3527

Used Package Manager

npm

Validations