针对你遇到的问题“could not resolve "@iconify/vue"”,我提供了以下可能的解决方案: 确认环境配置: 确保你的Node.js和npm/yarn已经安装并更新到最新版本。你可以通过运行以下命令来更新npm: bash npm install -g npm 检查项目目录: 确保你在正确的项目目录下运行安装命令。如果不在项目根目录下,npm可能无法...
1npm install @iconify/vue --save 命令单独安装
运行一切正常,但是在使用vite3.2.5版本打包构建built的时候报以下错误: Could not resolve './hooks/use-prevent-window/index.mjs' from node_modules/element-plus/es/index.mjs error during build: Error: Could not resolve './hooks/use-prevent-window/index.mjs'
"^10.9.1", "vue": "^3.2.38", "vue-demi": "^0.13.11", "vue-request": "2.0.0-rc.3", "vue-router": "^4.1.5", "vue-search-input": "^1.1.9" }, "devDependencies": { "@antfu/eslint-config": "^0.26.3", "@iconify/json": "^2.1.102", "@vitejs/plugin-vue": "^3.0...