npm install vite@^3.0.0 --save 清除并重新安装依赖: 有时候,简单的更新可能不足以解决问题,特别是如果node_modules文件夹或package-lock.json文件中有缓存或损坏的数据。你可以通过以下步骤来清除并重新安装所有依赖: bash rm -rf node_modules rm package-lock.json npm install 这将删除node_modules文件夹...
npm WARN Could not resolve dependency: npm WARN peer vite@">=3.2.0" from vite-plugin-electron@0.10.0 I am having another issue (require is not define in browser) and trying to update this plugin to latest version. However, there is a problem found with peer dependency, as attached above...
npm ERR! Could not resolve dependency: npm ERR! node_modules/@vitejs/plugin-vue npm ERR! dev @vitejs/plugin-vue@"2.3.3" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to ...
ERESOLVE could not resolve npm ERR! npm ERR! While resolving: vite-plugin-electron@0.28.2 npm ERR! Found: electron@29.0.1 npm ERR! node_modules/electron npm ERR! dev electron@"^29.0.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peerOptional ...
node_modules/vite npmERR!dev vite@"^1.0.0-rc.1"from the root project npmERR!1more(the root project)npmERR!npmERR!Could not resolve dependency:npmERR!vue-router@"4.0.13"from the root project npmERR!npmERR!Conflicting peer dependency:vue@3.2.41npmERR!peer vue@"^3.2.0"from vue-router@...
Could not resolve dependency: npm ERR!pinia@"*"from the root project npm ERR!npm ERR!Conflicting peer dependency: vue@2.6.14 npm ERR!node_modules/vue npm ERR!peer vue@">= 2.5 < 2.7"from @vue/composition-api@1.7.2 npm ERR!node_modules/@vue/composition-api npm ERR!peerOptional @vue/...
linux" is incompatible with this module. info "esbuild-freebsd-64@0.13.3" is an optional dependency and failed compatibility check. Excluding it from installation. info esbuild-freebsd-arm64@0.13.3: The platform "linux" is incompatible with this module. info "esbuild-freebsd-arm64@0.13.3...