-
I am not familiar with modern JS development also. Just followed docusarous manual and it uses npm instead of yarn.
-
Maybe. Did not pay much attention to that as long as build passes.
-
Any contribution is welcomed, 😃
-
Unknown
referenced from pull request 3 years ago
Remove npm (#2) Discarded -
Unknown
referenced from pull request 3 years ago
Remove npm (#3) Merged -
Previous Value Current Value Open
Closed
| Type |
Question
|
| Priority |
Normal
|
| Assignee |
Issue Votes (0)
When installing the docs dependencies using yarn, the following errors are created:
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.I assume this is because onedev docs also supports the use of other package managers other than yarn (such as npm?!?!?), I am not a javascript developer thus I do not know much about the javascript package managers.
Then there is a few other warnings I have, which I am not sure what they are about:
warning @docusaurus/core > @svgr/webpack > @svgr/plugin-svgo > svgo > [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibilitywarning "@docusaurus/core > [email protected]" has unmet peer dependency "react-loadable@*".warning "@docusaurus/core > react-dev-utils > [email protected]" has unmet peer dependency "typescript@>= 2.7".warning "@docusaurus/preset-classic > @docusaurus/theme-search-algolia > @docsearch/react > @algolia/[email protected]" has unmet peer dependency "@algolia/client-search@>= 4.9.1 < 6".These are only warnings and they seem to be harmless, just a little heads up :)