question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Default presentation scheme to 'file://'

See original GitHub issue

With the old 1.0.0 version I was able to convert local file files (ie from the filesystem).

I tested the new v2 version, and I have have issue while trying to do the same thing:

decktape -p 1000 .tmp/pdf/index.html pdf/index.pdf
Error: Protocol error (Page.navigate): Cannot navigate to invalid URL undefined
    at Session._onMessage (/Users/noda/github/backslide/node_modules/puppeteer/lib/Connection.js:194:25)
    at Connection._onMessage (/Users/noda/github/backslide/node_modules/puppeteer/lib/Connection.js:98:19)
    at emitOne (events.js:96:13)
    at WebSocket.emit (events.js:191:7)
    at Receiver._receiver.onmessage (/Users/noda/github/backslide/node_modules/puppeteer/node_modules/ws/lib/WebSocket.js:143:47)
    at Receiver.dataMessage (/Users/noda/github/backslide/node_modules/puppeteer/node_modules/ws/lib/Receiver.js:389:14)
    at Receiver.getData (/Users/noda/github/backslide/node_modules/puppeteer/node_modules/ws/lib/Receiver.js:330:12)
    at Receiver.startLoop (/Users/noda/github/backslide/node_modules/puppeteer/node_modules/ws/lib/Receiver.js:165:16)
    at Receiver.add (/Users/noda/github/backslide/node_modules/puppeteer/node_modules/ws/lib/Receiver.js:139:10)
    at Socket._ultron.on (/Users/noda/github/backslide/node_modules/puppeteer/node_modules/ws/lib/WebSocket.js:139:22)

As a workaround, I added file:// + the absolute path to make it work. It would be nice if local file path are automatically detected to restore the 1.0.0 behavior.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
astefanutticommented, Oct 12, 2017

@pat-s sorry to hear that. I plan to fix it ASAP.

0reactions
pat-scommented, Nov 13, 2017

Thanks, works 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set a default theme for your presentations - Microsoft Support
If you haven't already, create and apply the theme that you want to set as the default. · On the Design tab, click...
Read more >
Set the default template when PowerPoint starts | YOUpresent
Start PowerPoint · Open the POTX template you want to set as the default · Click File / Save As · Click the...
Read more >
Create your own default presentation - Steve Rindsberg/RDP
Open a template file or a presentation based on the template you want to use as your default, then. Choose File | Save...
Read more >
How to Apply Default Themes and Custom Themes to Your ...
Important Tips — After saving the file on your desktop. You need to select the theme to apply on all slides of your...
Read more >
Create and manage Keynote themes on Mac - Apple Support
In Keynote on your Mac, save a presentation as a theme if you want to use ... You can add your custom themes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found