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(v2): fix docusaurus init issue when not using @latest #3803

Merged
merged 1 commit into from Nov 23, 2020

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Nov 23, 2020

Motivation

npx @docusaurus/init seems to fail on some older Node versions, as npx tries to run a local init binary (the part after the /).

See also the output of npx @docusaurus/echo test on holder node here:

image

As we don't plan to require newer node versions, we now document to use npx @docusaurus/init@latest instead, as it seems to work fine even in older node versions.

Note: previously we installed with the @next tag (which we removed), so now we are just changing the dist tag from next to latest.

Related to #3799

@slorber slorber requested a review from lex111 as a code owner November 23, 2020 17:02
@slorber slorber added the pr: documentation This PR works on the website or other text documents in the repo. label Nov 23, 2020
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Nov 23, 2020
@netlify
Copy link

netlify bot commented Nov 23, 2020

Deploy preview for docusaurus-2 ready!

Built with commit f408f77

https://deploy-preview-3803--docusaurus-2.netlify.app

@github-actions
Copy link

Size Change: +21 B (0%)

Total Size: 153 kB

ℹ️ View Unchanged
Filename Size Change
website/build/blog/2017/12/14/introducing-docusaurus/index.html 20.7 kB 0 B
website/build/docs/introduction/index.html 180 B 0 B
website/build/index.html 5.86 kB +3 B (0%)
website/build/main.********.js 109 kB +18 B (0%)
website/build/styles.********.css 17.3 kB 0 B

compressed-size-action

Copy link
Contributor

@lex111 lex111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@lex111 lex111 merged commit 9e314bc into master Nov 23, 2020
@lex111
Copy link
Contributor

lex111 commented Nov 23, 2020

@slorber thanks!

1 similar comment
@lex111
Copy link
Contributor

lex111 commented Nov 23, 2020

@slorber thanks!

@lex111 lex111 added this to the v2.0.0-alpha.69 milestone Nov 23, 2020
@slorber slorber deleted the slorber/quickfix-init-doc branch August 17, 2021 17:59
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