Skip to content

The application does not start. Error 127 #3228

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

Open
ForumLiker opened this issue May 12, 2025 · 1 comment
Open

The application does not start. Error 127 #3228

ForumLiker opened this issue May 12, 2025 · 1 comment
Labels

Comments

@ForumLiker
Copy link

Hello everyone. I have executed the commands:

git clone https://github.com/gitbookIO/gitbook.git
cd gitbook/
bun install

Bug description

Then after execution bun dev:v2 I get an error:

ERROR  run failed: command  exited (127)
error: script "dev:v2" exited with code 127

Additional context

~/gitbook$ bun dev:v2
$ turbo run dev:v2
 WARNING  No locally installed `turbo` found. Using version: 2.5.3.
turbo 2.5.3

• Packages in scope: @gitbook/cache-do, @gitbook/cache-tags, @gitbook/colors, @gitbook/icons, @gitbook/openapi-parser, @gitbook/react-contentkit, @gitbook/react-math, @gitbook/react-openapi, gitbook, gitbook-plugin-advanced-emoji, gitbook-v2
• Running dev:v2 in 11 packages
• Remote caching disabled
@gitbook/icons:generate: cache hit, replaying logs 005355d726a79f97
@gitbook/icons:generate: 
@gitbook/icons:generate: $ bun ./bin/gen-list.js
@gitbook/cache-do:generate: cache hit, replaying logs 507bab8dfc6a8d0f
@gitbook/cache-do:generate: 
@gitbook/cache-do:generate: $ wrangler types
@gitbook/cache-do:generate: 
@gitbook/cache-do:generate:  ⛅ wrangler 4.14.4
@gitbook/cache-do:generate: -------------------
@gitbook/cache-do:generate: 
@gitbook/cache-do:generate: Generating project types...
@gitbook/cache-do:generate: 
@gitbook/cache-do:generate: declare namespace Cloudflare {
@gitbook/cache-do:generate:     interface Env {
@gitbook/cache-do:generate:             CACHE: DurableObjectNamespace /* CacheObject */;
@gitbook/cache-do:generate:     }
@gitbook/cache-do:generate: }
@gitbook/cache-do:generate: interface Env extends Cloudflare.Env {}
@gitbook/cache-do:generate: 
@gitbook/cache-do:generate: Generating runtime types...
@gitbook/cache-do:generate: 
@gitbook/cache-do:generate: Runtime types generated.
@gitbook/cache-do:generate: 
@gitbook/cache-do:generate: ────────────────────────────────────────────────────────────
@gitbook/cache-do:generate: ✨ Types written to worker-configuration.d.ts
@gitbook/cache-do:generate: 
@gitbook/cache-do:generate: 📖 Read about runtime types
@gitbook/cache-do:generate: https://developers.cloudflare.com/workers/languages/typescript/#generate-types
@gitbook/cache-do:generate: 📣 Remember to rerun 'wrangler types' after you change your wrangler.toml file.
@gitbook/cache-do:generate: 
gitbook:generate: cache miss, executing 6a5c0486ef21927c
gitbook:generate: 
gitbook:generate: $ gitbook-icons ./public/~gitbook/static/icons custom-icons && gitbook-math ./public/~gitbook/static/math
gitbook:generate: /usr/bin/bash: строка 1: gitbook-math: команда не найдена
gitbook:generate: error: script "generate" exited with code 127
gitbook:generate: ERROR: command finished with error: command (/home/dux/gitbook/packages/gitbook) /home/dux/.bun/bin/bun run generate exited (127)
gitbook#generate: command (/home/dux/gitbook/packages/gitbook) /home/dux/.bun/bin/bun run generate exited (127)

 Tasks:    2 successful, 3 total
Cached:    2 cached, 3 total
  Time:    707ms 
Failed:    gitbook#generate

 ERROR  run failed: command  exited (127)
error: script "dev:v2" exited with code 127

debian 12.9.0
node v22.13.1
npm v11.3.0
turbo v2.5.3
typescript 5.8.3
wrangler 4.14.4

@ForumLiker ForumLiker added the bug label May 12, 2025
@ForumLiker
Copy link
Author

I also did the same:
npm install gitbook-plugin-advanced-emoji
npm i @gitbook/icons
And replaced the files in the folder. Without it there were errors of icons and emoticons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant