-
Notifications
You must be signed in to change notification settings - Fork 79
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
Failed to install npm package on Docusaurus 2.0.0-beta.3 #61
Comments
Mine is working with the following package.json configuration. I'm on the latest beta version (2.0.0-beta.4)
|
@HazyFish - You are probably using NPM 7. NPM 7 has a little bit different behavior when it comes to child peer dependencies - NPM 6 would warn you if you did not have a matching version of a peer dependency installed. NPM 7 will try and install peer dependencies. The easiest fix is to force NPM to act like NPM 6. You can do that by adding a single line to your .npmrc file - legacy-peer-deps=true |
Thanks for the workaround! I think I can keep this issue open to track the dependency update progress. |
Get the following error when running command
npm i docusaurus-lunr-search --save
Here is my
package.json
:The text was updated successfully, but these errors were encountered: