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

Error in setting up the doc locally #1313

Closed
Ileolami opened this issue Feb 28, 2025 · 7 comments
Closed

Error in setting up the doc locally #1313

Ileolami opened this issue Feb 28, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@Ileolami
Copy link

I'm finding it difficult to contribute to the doc; I'm getting this error anytime I want to run the doc locally.

  ileolami@MacBookAir stellar-docs % yarn install 
yarn install v1.22.22
warning ../../../package.json: No license field
[1/5] 🔍  Validating package.json...
error stellar-docs@0.0.0: The engine "node" is incompatible with this module. Expected version ">=22". Got "20.16.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
ileolami@MacBookAir stellar-docs % npx docusaurus start
✔ Console Ninja extension is connected to Webpack, see https://tinyurl.com/2vt8jxzw

 -----------------------------------------------------------------------------------------------------                                                                                                                                            Update available 3.4.0 → 3.7.0                                                                                                                                                      To upgrade Docusaurus packages with the latest version, run the following command:                              `yarn upgrade @docusaurus/core@latest @docusaurus/faster@latest                                  @docusaurus/preset-classic@latest @docusaurus/remark-plugin-npm2yarn@latest                                 @docusaurus/theme-mermaid@latest @docusaurus/eslint-plugin@latest                         @docusaurus/module-type-aliases@latest @docusaurus/tsconfig@latest @docusaurus/types@latest`                                                                                                              ----------------------------------------------------------------------------------------------------- 

[INFO] Starting the development server...

[ERROR] [Error [ValidationError]: "onUntruncatedBlogPosts" is not allowed] {
  _original: {
    path: 'meeting-notes',
    blogTitle: 'Meeting Notes',
    blogDescription: 'Notes and recordings from the Soroban protocol & developers meetings',
    blogSidebarTitle: 'All meetings',
    blogSidebarCount: 'ALL',
    postsPerPage: 'ALL',
    routeBasePath: 'meetings',
    onUntruncatedBlogPosts: 'ignore'
  },
  details: [
    {
      message: '"onUntruncatedBlogPosts" is not allowed',
      path: [ 'onUntruncatedBlogPosts' ],
      type: 'object.unknown',
      context: {
        child: 'onUntruncatedBlogPosts',
        label: 'onUntruncatedBlogPosts',
        value: 'ignore',
        key: 'onUntruncatedBlogPosts'
      }
    }
  ]
}
[INFO] Docusaurus version: 3.4.0
Node version: v20.16.0
@Ileolami Ileolami added the bug Something isn't working label Feb 28, 2025
@briwylde08
Copy link
Contributor

You might need to upgrade to a newer version of node.js, have you tried that?

@Ileolami
Copy link
Author

Ileolami commented Feb 28, 2025 via email

@briwylde08
Copy link
Contributor

I was having the same issue the other day, probably to do with the recent Docusaurus upgrade. Installing node.js and then yarn install fixed it though. @ElliotFriend may some other ideas.

@Ileolami
Copy link
Author

Ileolami commented Feb 28, 2025 via email

@briwylde08
Copy link
Contributor

Ok, great! Are you okay if I close this issue?

@briwylde08
Copy link
Contributor

Going to close, feel free to reopen if you experience any other issues.

@Ileolami
Copy link
Author

Ileolami commented Feb 28, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants