Giter VIP home page Giter VIP logo

Comments (3)

fgalan avatar fgalan commented on May 13, 2024

I have solved solved it at the end using installing Chrome (really needed?) and doing:

sudo sysctl -w kernel.unprivileged_userns_clone=1

However, I think documentation in https://github.com/simonhaenisch/md-to-pdf#installation could be improved. If Chrome (or some chrome-related setting) is a requirement, it shoulb be explained in that section.

from md-to-pdf.

simonhaenisch avatar simonhaenisch commented on May 13, 2024

Hi, there's a --debug flag for the command, which should give you more detailed info.

The reason is probably either that you're missing a dependency or that the sandboxing isn't working for you (in which case you can try disabling it by passing --launch-options="['--no-sandbox', '--disable-setuid-sandbox']").

The reason you're only seeing this line of the error is because Listr only prints the last line, which is often good enough but not in this case. I should probably catch this special error.

from md-to-pdf.

fgalan avatar fgalan commented on May 13, 2024

I should probably catch this special error.

Yes. I think it would be a good idea.

In addition, explaining the requirements regarding Chrome in the installation instructions in the main README.md at https://github.com/simonhaenisch/md-to-pdf#installation should be also very desirable. Thanks!

(Feel free of closing this issue if you think the issue is coverd or leave it opened if if is usefult to you to keep track of the possible task related with it, i.e. capture error, documentation improvement, etc.).

from md-to-pdf.

Related Issues (20)

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.