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

chore(docs): Recommend yarn instead of for cutting doc versions #3293

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

Savio-Sou
Copy link
Collaborator

Description

Problem*

Cutting a new doc version with:

npm run docusaurus docs:version <new_version_tag>

did not work on my machine, gave the error of:

npm ERR! Lifecycle script `docusaurus` failed with error: 
npm ERR! Error: Missing script: "docusaurus"

To see a list of scripts, run:
  npm run 
npm ERR!   in workspace: [email protected] 
npm ERR!   at location: /Users/s/Dev/noir-lang/noir/docs 
npm ERR! Missing script: docusaurus

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/s/.npm/_logs/2023-10-25T14_01_36_763Z-debug-0.log

Summary*

Using:

yarn docusaurus docs:version <new_version_tag>

instead worked.

Additional Context

Both approaches are recommended on Docusaurus's docs.

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@TomAFrench TomAFrench added this pull request to the merge queue Oct 25, 2023
Merged via the queue into master with commit 39f03e4 Oct 25, 2023
26 checks passed
@TomAFrench TomAFrench deleted the ss/yarn-for-doc-cut branch October 25, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants