Skip to content
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

docs: specify proper min Node.js version for Travis CI example #5406

Merged
merged 1 commit into from
Aug 22, 2021

Conversation

BattleOfPlassey
Copy link
Contributor

@BattleOfPlassey BattleOfPlassey commented Aug 22, 2021

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.)

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"
@facebook-github-bot
Copy link
Contributor

Hi @BattleOfPlassey!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@netlify
Copy link

netlify bot commented Aug 22, 2021

✔️ [V2]
Built without sensitive environment variables

🔨 Explore the source changes: c8836ab

🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/6122a417cb196e0007d2121d

😎 Browse the preview: https://deploy-preview-5406--docusaurus-2.netlify.app

@github-actions
Copy link

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 85
🟢 Accessibility 98
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-5406--docusaurus-2.netlify.app/

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Aug 22, 2021
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@lex111 lex111 changed the title node version was incompatible with triggering-deployment-with-travis-ci docs: specify proper min Node.js version for Travis CI example Aug 22, 2021
@lex111 lex111 added the pr: documentation This PR works on the website or other text documents in the repo. label Aug 22, 2021
@lex111 lex111 merged commit b665b5b into facebook:main Aug 22, 2021
@lex111
Copy link
Contributor

lex111 commented Aug 22, 2021

@BattleOfPlassey thanks!

@BattleOfPlassey BattleOfPlassey deleted the patch-1 branch September 15, 2021 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: documentation This PR works on the website or other text documents in the repo.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants