docs: specify proper min Node.js version for Travis CI example #5406
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Faced error @docusaurus/core@2.0.0-beta.4: The engine "node" is incompatible with this module. Expected version ">=12.13.0". Got "10.24.1"
Motivation
(Write your motivation here.) I faced an error during TravisCI deployment. Build logs below
0.72s$ git clone --depth=50 --branch=master https://github.com/BattleOfPlassey/blogasaurus.git BattleOfPlassey/blogasaurus
0.01s
Setting environment variables from repository settings
$ export GH_TOKEN=[secure]
$ export GH_EMAIL=[secure]
$ export GH_NAME=[secure]
nvm.install
2.74s$ nvm install 10
cache.1
Setting up build cache
cache.yarn
cache.npm
$ node --version
v10.24.1
$ npm --version
6.14.12
$ nvm --version
0.38.0
$ yarn --version
1.22.4
21.14s$ yarn --frozen-lockfile
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
error @docusaurus/core@2.0.0-beta.4: The engine "node" is incompatible with this module. Expected version ">=12.13.0". Got "10.24.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The command "eval yarn --frozen-lockfile " failed. Retrying, 2 of 3.
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.) YES
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!) NO CHANGES IN CODE.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)