Comments (3)
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.
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.
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)
- bug: images not rendered with cat command HOT 1
- Wildcard file paths not working on Windows cmd.exe HOT 1
- Watchmode does only knows initial files. HOT 5
- feature: use browser context to reduce cpu load on many files HOT 3
- bug: Node freezes when using the programmatic API HOT 4
- feature: screenshot option HOT 1
- question: add images to pdf HOT 12
- volernability issue - minimatch library version 3.0.4 is not safe HOT 3
- bug: math not showing HOT 1
- bug: `replaceAll` is not a function HOT 6
- Supporting Solidity code in markdown HOT 5
- 'Bash wrote one or more lines to the standard error stream' on Azure Pipelines HOT 3
- bug: Failed to launch the browser process! HOT 1
- bug: HOT 1
- feature: Support for footnote, as Github-Flavored-Markdown now supports footnote HOT 1
- Improve documentation around Marked plugins
- feature: embedded tweets HOT 2
- feature: embedded instagram posts HOT 4
- feature: embedded mastodon posts HOT 2
- ProtocolTimeout change via the Commandline HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from md-to-pdf.