-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Failed converting Markdown. (source is not defined) #373
Labels
bug
Something isn't working
Comments
Thank you for your report. This error may be specific on the standalone binary in a release page. We can reproduce it also in macOS: $ ./marp markdown.md --pdf --allow-local-files
[ INFO ] Converting 1 markdown...
[ WARN ] Insecure local file accessing is enabled for conversion from
markdown.md.
[ ERROR ] Failed converting Markdown. (source is not defined)
$ npx @marp-team/marp-cli@latest markdown.md --pdf --allow-local-files
Need to install the following packages:
@marp-team/marp-cli@latest
Ok to proceed? (y) y
[ INFO ] Converting 1 markdown...
[ WARN ] Insecure local file accessing is enabled for conversion from
markdown.md.
[ INFO ] markdown.md => markdown.pdf We have to debug a packaged executable made by vercel/pkg. |
Nice! Works well using npx. Thanks.
Dani
…On Thu, Aug 12, 2021 at 2:27 PM Yuki Hattori ***@***.***> wrote:
Thank you for your report. This error may be specific on the standalone
binary in a release page. We can reproduce it also in macOS:
$ ./marp markdown.md --pdf --allow-local-files
[ INFO ] Converting 1 markdown...
[ WARN ] Insecure local file accessing is enabled for conversion from
markdown.md.
[ ERROR ] Failed converting Markdown. (source is not defined)
$ npx @***@***.*** markdown.md --pdf --allow-local-files
Need to install the following packages:
@***@***.***
Ok to proceed? (y) y
[ INFO ] Converting 1 markdown...
[ WARN ] Insecure local file accessing is enabled for conversion from
markdown.md.
[ INFO ] markdown.md => markdown.pdf
We have to debug a packaged executable made by vercel/pkg
<https://github.com/vercel/pkg>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#373 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC3LYCYTXP65EQ37IBLGDRDT4O44RANCNFSM5CBA567A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
Dani Schmid
Hystadveien 41
3208 Sandefjord
+47 980 00 120
|
An original stack trace seems to be come from tslib that is bundlded in pdf-lib.
|
excellent!
…On Thu, Aug 12, 2021 at 4:26 PM Yuki Hattori ***@***.***> wrote:
@dwschmid <https://github.com/dwschmid> Fixed in v1.3.1
<https://github.com/marp-team/marp-cli/releases/tag/v1.3.1>!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#373 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC3LYC6WMWVHMRE4TQSYEHLT4PKZZANCNFSM5CBA567A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
Dani Schmid
Hystadveien 41
3208 Sandefjord
+47 980 00 120
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for taking care of #367
I tested the newest release on windows. It manages to make an html with the metadata, but the pdf generation fails and I get
My call looks like this
Same call using the v1.2 works.
The text was updated successfully, but these errors were encountered: