nodejs and yarn version
See original GitHub issueHi all, thank you for inviting me to participate here. In following the readme.md I have encountered issues with both nodejs and yarn versions (minimum 12.13 and 1.5, respectively). I am running this in ubuntu 20.04 and I am able to get nodejs 10.19.0 and yarn 1.22.5.
This in turn results in the following error when running yarn install
:
yarn install v1.22.5 [1/4] Resolving packages... [2/4] Fetching packages... info fsevents@2.3.2: The platform "linux" is incompatible with this module. info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation. info fsevents@1.2.13: The platform "linux" is incompatible with this module. info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation. error @docusaurus/plugin-content-docs@2.0.0-alpha.72: The engine "node" is incompatible with this module. Expected version ">=12.13.0". Got "10.19.0" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The yarn start
and yarn build
commands therefore both result in a “docusaurus: not found” error.
Any suggestions?
Regards,
Stef
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Hey @adrem1,
The issue you’d want to address is in the first line with the minimum requirements. While there are different solutions for maintaining/upgrading node versions, I find using nvm as mentioned on How to Contribute is the most stable option.
Having said that, I belive it could be a good feedback about updating README.md to move the build instructions to that page instead (tho since we’re not yet live, wonder if it makes sense to route it to staging URL or perhaps use relative path to document).
confusion (on my end) greatly resolved by @rdlrt THX