-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with dependency tree with npm 7 #19
Comments
I got the same installation error when upgrading the version of Docusaurus. It would be great if we could fix the bug. npm install --save docusaurus-plugin-sass sass
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @docusaurus/[email protected]
npm ERR! node_modules/@docusaurus/core
npm ERR! @docusaurus/core@"2.0.0-beta.6" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @docusaurus/core@"^2.0.0" from [email protected]
npm ERR! node_modules/docusaurus-plugin-sass
npm ERR! docusaurus-plugin-sass@"*" 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. @docusaurus/core: 2.0.0-beta.6 Thanks! |
I have the same issue. With docusaurus version 2.0.0-beta.3 everything works fine but we'd like to upgrade to beta.6 |
I got the same issue here. |
I made another test and if I try using yarn, the problem of dependency not happens, but I need to install sass module before run yarn/npm start, because it's not installing the peerDependency for sass-1.30.0. If I add sass module after run yarn install, it runs and load right. |
+1 |
For now you can get this to install using |
Hi,
I use npm 7, docusaurus 2.0.0-beta and your docusaurus-plugin-sass.
I have a problem with the peer dependencies. Actually you set "@docusaurus/core": "^2.0.0" but npm 7 does not install pre-release dependencies with a '^'.
This possible for you to change and put >2.0.0-beta by example ?
As long as the release version of docusaurus hasn't officially been released.
This my stack trace when I install your plugin :
node version : v14.17.2
npm version : 7.19.1
Thanks
The text was updated successfully, but these errors were encountered: