This project is a vue3 + Vite + electron project template composed of Vite and rollup. It has the same functions as my previous electron+Vue+template project
electron-vite-template>npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: electron-vite-template@1.0.0
npm ERR! Found: javascript-obfuscator@4.0.0
npm ERR! node_modules/javascript-obfuscator
npm ERR! dev javascript-obfuscator@"^4.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer javascript-obfuscator@"^0.18.1" from rollup-plugin-obfuscator@0.2.1
npm ERR! node_modules/rollup-plugin-obfuscator
npm ERR! dev rollup-plugin-obfuscator@"^0.2.1" 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.
npm ERR!
npm ERR! See C:\Users\wzskyline\AppData\Local\npm-cache\eresolve-report.txt for a full report.
electron-vite-template>npm i npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: electron-vite-template@1.0.0 npm ERR! Found: javascript-obfuscator@4.0.0 npm ERR! node_modules/javascript-obfuscator npm ERR! dev javascript-obfuscator@"^4.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer javascript-obfuscator@"^0.18.1" from rollup-plugin-obfuscator@0.2.1 npm ERR! node_modules/rollup-plugin-obfuscator npm ERR! dev rollup-plugin-obfuscator@"^0.2.1" 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. npm ERR! npm ERR! See C:\Users\wzskyline\AppData\Local\npm-cache\eresolve-report.txt for a full report.