Cannot install @crxjs/vite-plugin@2.0.0-beta.1 due to 'Could not resolve dependency' error.
Reproduction
As per the getting start guide:
npx degit solidjs/templates/ts extension
cd extension
npm install
npm install -D @crxjs/vite-plugin@2.0.0-beta.1
Error!
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: vite-template-solid@0.0.0
npm ERR! Found: vite@3.1.8
npm ERR! node_modules/vite
npm ERR! dev vite@"^3.1.7" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^2.9.0 <= ^3.1.7" from @crxjs/vite-plugin@2.0.0-beta.1
npm ERR! node_modules/@crxjs/vite-plugin
npm ERR! dev @crxjs/vite-plugin@"2.0.0-beta.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.
Content of the package.json for the solidjs project
Build tool
Vite
Where do you see the problem?
Describe the bug
Cannot install @crxjs/vite-plugin@2.0.0-beta.1 due to 'Could not resolve dependency' error.
Reproduction
As per the getting start guide:
Error!
Content of the
package.json
for the solidjs projectLogs
No response
System Info
Severity
blocking all usage of RPCE