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

How to build this project. #962

Closed
liudonghua123 opened this issue Nov 1, 2024 · 4 comments
Closed

How to build this project. #962

liudonghua123 opened this issue Nov 1, 2024 · 4 comments

Comments

@liudonghua123
Copy link

Hi, I tried to build this project with gitbook build ., but it failed with a lot of plugins missing, I have tried the following book.json.

How can I make it buildable locally.

{
  "plugins": [
    "hints",
    "highlight",
    "search",
    "lunr",
    "sharing",
    "fontsettings",
    "theme-default",
    "tabs2"
  ]
}

The gitbook-cli could not run on newer version of node like v20,v22, I use some hacks mentioned on GitbookIO/gitbook-cli#110 (comment) and GitbookIO/gitbook-cli@master...gengjiawen:gitbook-cli:master.

@try-to-change
Copy link

Hi, I tried to build this project with gitbook build ., but it failed with a lot of plugins missing, I have tried the following book.json.

How can I make it buildable locally.

{
  "plugins": [
    "hints",
    "highlight",
    "search",
    "lunr",
    "sharing",
    "fontsettings",
    "theme-default",
    "tabs2"
  ]
}

The gitbook-cli could not run on newer version of node like v20,v22, I use some hacks mentioned on GitbookIO/gitbook-cli#110 (comment) and GitbookIO/[email protected]:gitbook-cli:master.

Hello, may I ask whether the plug-in problem is solved now? I also encountered the same error, can you refer to your configuration file

@2233466866
Copy link

有人解决了这个问题!
誰かがこの問題を解決した!
누군가가 이 문제를 해결했다!
Someone has solved this problem!
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
https://github.com/gofulljs/gbook

@try-to-change
Copy link

有人解决了这个问题! 誰かがこの問題を解決した! 누군가가 이 문제를 해결했다! Someone has solved this problem! ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ https://github.com/gofulljs/gbook

Tkx

@carlospolop
Copy link
Collaborator

There is now a docker container to easily run this book locally, check https://book.hacktricks.wiki/en/index.html#run-hacktricks-locally

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

No branches or pull requests

4 participants