Timeout with local html file
See original GitHub issueI was just testing something out simple with this and plugged in a basic html file
<!DOCTYPE html>
<html lang="en">
<title> </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://unpkg.com/tachyons/css/tachyons.min.css">
<body>
<button data-sketch-symbol="Button/Primary" class="bw1-l br2 bg-dwyl-teal pa2 white fw1 tc ttu tracked">do what you love</button>
<div data-sketch-text="Heading" class="f1 fw7 sans-serif lh-title">Headline 1</div>
<div data-sketch-text="Body" class="sans-serif lh-copy">Body</div>
<div data-sketch-color="#A463F2" class="pa4 bg-light-purple"> </div>
</body>
</html>
I followed the readme, but I’m getting a timeout error. Am I missing something?
$ npm install --global html-sketchapp-cli
$ html-sketchapp --file index.html --out-dir .
Error: Timeout
at Timeout._onTimeout (/usr/local/lib/node_modules/html-sketchapp-cli/node_modules/wait-on/lib/wait-on.js:92:10)
at ontimeout (timers.js:458:11)
at tryOnTimeout (timers.js:296:5)
at Timer.listOnTimeout (timers.js:259:5)
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
I want to load another HTML page after a specific amount of time
I have one html page "form1.html" which has an animated image. I want to load another page "form2.html" after 5 seconds. How do...
Read more >504 Gateway Timeout - HTTP - MDN Web Docs
The HyperText Transfer Protocol (HTTP) 504 Gateway Timeout server error response code indicates that the server, while acting as a gateway ...
Read more >How to Fix the 504 Gateway Timeout Error on Your Site - Kinsta
One of the first things you can try when encountering a 504 Gateway Timeout error is to wait a few minutes and try...
Read more >Window setTimeout() Method - W3Schools
The setTimeout() is executed only once. If you need repeated executions, use setInterval() instead. Use the clearTimeout() method to prevent the function from ......
Read more >MATLAB urlread - MathWorks
Download the HTML for the page on the MATLAB ® Central File Exchange that ... File Exchange as in the first example, and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This error occurs if your
--file
argument has a typo, or isn’t relative to where you’re running the command, since the URL is resolved like this:I just updated and the problem of the timeout persisted
Error: Navigation Timeout Exceeded: 30000ms exceeded
. Changing networkidle to mode 2 resolved the problem again.