Giter VIP home page Giter VIP logo

document_template's Introduction

document_template's People

Contributors

i10416 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

document_template's Issues

update honkit

latest honkit fixed bug in multi-language doc project.

docker-composeが奇数回目のみ失敗する

mermaid の内部で使っている puppeteer に --no-sandbox オプションを puppeterer-config.json から渡している.
これは適切に読み込まれている模様.

奇数回目に起動すると、 Failed to launch the browser process! でブラウザプロセスの起動に失敗する.
また、en ディレクトリと ja ディレクトリの両方に marmaid ブロックがあると失敗する.

PDF生成も同様.

book_1  | (node:19) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process!
book_1  | [0716/080908.466557:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
book_1  |
book_1  |
book_1  | TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
book_1  |
book_1  |     at onClose (/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:194:20)
book_1  |     at Interface.<anonymous> (/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:184:68)
book_1  |     at Interface.emit (events.js:387:35)
book_1  |     at Interface.close (readline.js:451:8)
book_1  |     at Socket.onend (readline.js:224:10)
book_1  |     at Socket.emit (events.js:387:35)
book_1  |     at endReadableNT (internal/streams/readable.js:1317:12)
book_1  |     at processTicksAndRejections (internal/process/task_queues.js:82:21)
book_1  | (Use `node --trace-warnings ...` to show where the warning was created)
book_1  | (node:19) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
book_1  | (node:19) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
book_1  | Error: ENOENT: no such file or directory, open '/app/.mermaid_4b9d955e79bd7f04d9844f80304e0c9855d6f887.svg'
book_1  |     at Object.openSync (fs.js:498:3)
book_1  |     at Object.readFileSync (fs.js:394:35)
book_1  |     at processBlock (/app/node_modules/gitbook-plugin-mermaid-newface/index.js:44:19)
book_1  |     at Object.code (/app/node_modules/gitbook-plugin-mermaid-newface/index.js:67:22)
book_1  |     at TemplateBlock.applyBlock (/app/node_modules/honkit/lib/models/templateBlock.js:163:29)
book_1  |     at /app/node_modules/honkit/lib/output/getModifiers.js:47:43
book_1  |     at /app/node_modules/honkit/lib/output/modifiers/highlightCode.js:49:34
book_1  |     at /app/node_modules/honkit/lib/output/modifiers/editHTMLElement.js:14:16
book_1  |     at /app/node_modules/honkit/lib/utils/promise.js:40:16
book_1  |     at /app/node_modules/honkit/lib/utils/promise.js:25:20 {
book_1  |   errno: -2,
book_1  |   syscall: 'open',
book_1  |   code: 'ENOENT',
book_1  |   path: '/app/.mermaid_4b9d955e79bd7f04d9844f80304e0c9855d6f887.svg'
book_1  | }
book_1  | (node:33) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process!
book_1  | [0716/080908.634573:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
book_1  |
book_1  |
book_1  | TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
book_1  |
book_1  |     at onClose (/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:194:20)
book_1  |     at Interface.<anonymous> (/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:184:68)
book_1  |     at Interface.emit (events.js:387:35)
book_1  |     at Interface.close (readline.js:451:8)
book_1  |     at Socket.onend (readline.js:224:10)
book_1  |     at Socket.emit (events.js:387:35)
book_1  |     at endReadableNT (internal/streams/readable.js:1317:12)
book_1  |     at processTicksAndRejections (internal/process/task_queues.js:82:21)
book_1  | (Use `node --trace-warnings ...` to show where the warning was created)
book_1  | (node:33) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
book_1  | (node:33) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
book_1  | Error: ENOENT: no such file or directory, open '/app/.mermaid_45c196a451b4926f245d72135a55a4b92e2b9da6.svg'
book_1  |     at Object.openSync (fs.js:498:3)
book_1  |     at Object.readFileSync (fs.js:394:35)
book_1  |     at processBlock (/app/node_modules/gitbook-plugin-mermaid-newface/index.js:44:19)
book_1  |     at Object.code (/app/node_modules/gitbook-plugin-mermaid-newface/index.js:67:22)
book_1  |     at TemplateBlock.applyBlock (/app/node_modules/honkit/lib/models/templateBlock.js:163:29)
book_1  |     at /app/node_modules/honkit/lib/output/getModifiers.js:47:43
book_1  |     at /app/node_modules/honkit/lib/output/modifiers/highlightCode.js:49:34
book_1  |     at /app/node_modules/honkit/lib/output/modifiers/editHTMLElement.js:14:16
book_1  |     at /app/node_modules/honkit/lib/utils/promise.js:40:16
book_1  |     at /app/node_modules/honkit/lib/utils/promise.js:25:20 {
book_1  |   errno: -2,
book_1  |   syscall: 'open',
book_1  |   code: 'ENOENT',
book_1  |   path: '/app/.mermaid_45c196a451b4926f245d72135a55a4b92e2b9da6.svg'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.