Jervis2049 / vite-plugin-crx-mv3

Build a Chrome Extension with Vite⚡
201 stars 30 forks source link

Unable to resolve dependency tree at example #10

Closed FavorMylikes closed 1 year ago

FavorMylikes commented 1 year ago

example with crx-vue

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: crx-vue@0.0.1
npm ERR! Found: vite@undefined
npm ERR! node_modules/vite
npm ERR!   dev vite@"^3.2.9" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^2.5.10" from @vitejs/plugin-vue@2.3.4
npm ERR! node_modules/@vitejs/plugin-vue
npm ERR!   dev @vitejs/plugin-vue@"^2.3.0" 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 accept an incorrect (and potentially broken) dependency resolution
Jervis2049 commented 1 year ago

依赖冲突了,crx-vue例子中,vite的版本为3.0.9,@vitejs/plugin-vue的为2.3.0。请再检查,然后重试。

FavorMylikes commented 1 year ago

改为3.20后ok

Jervis2049 @.***>于2023年3月31日 周五上午9:25写道:

@.***/plugin-vue的为2.3.0。请再检查,然后重试。

— Reply to this email directly, view it on GitHub https://github.com/Jervis2049/vite-plugin-crx-mv3/issues/10#issuecomment-1491163660, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2SCU7MOKCDRV32H7BLQPTW6YW63ANCNFSM6AAAAAAWNWMJKA . You are receiving this because you authored the thread.Message ID: @.***>