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.

Styleguide starts very slow

See original GitHub issue

Bug

Describe the bug The styleguide cannot be started using npm run styleguide

To Reproduce Steps to reproduce the behavior:

  1. Checkout 9f280731658a636b7252abdb54478418261f9551 (the latest master commit at the time of writing)
  2. Run npm install
  3. Run npm run styleguide
  4. The styleguide does not show up on localhost:6060 (the website loads forever)

Expected behavior The styleguide should show up on localhost:6060

Screenshots If applicable, add screenshots to help explain your problem.

Desktop

  • OS: Linux Mint 19 Tara
  • Browser:
    • Mozilla Firefox 86.0
    • Chromium 87.0

Additional context

Below some relevant parts of the terminal output. Note the ℹ 「wds」: webpack output is served from undefined.

[...]
Starting type checking service...                                                              
Using 1 worker with 2048MB memory limit                                                        
Watching: /home/jakob/tmp/geostyle_suite/geostyler/src                                         
ℹ 「wds」: Project is running at http://localhost:6060/                                          
ℹ 「wds」: webpack output is served from undefined                                               
ℹ 「wds」: Content not from webpack is served from /home/jakob/tmp/geostyle_suite/geostyler/docs 
You can now view your style guide in the browser:                                              
                                                                                               
  Local:            http://localhost:6060/                                                     
  On your network:  http://192.168.0.105:6060/                                                 
                                                                                               
[...]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jansulecommented, Jun 14, 2022

Thanks to @dnlkoch, the build time of styleguidist was increased significantly. Feel free to open the ticket again, if you still run into performance problems.

1reaction
JakobMikschcommented, Mar 8, 2021

UPDATE Around 15 minutes after starting npm run styleguide I noticed that the styleguide is finally running. (I actually discovered it by accident … ) And the terminal output shows a DONE Compiled successfully!, I could not see that before.

I assume the command npm run styleguide takes very long. Is this normal or is there anything I am missing?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chromy engine runs slow with scenarios containing ... - GitHub
Hi Garris, Creating a ticket in reference to #479. Running backstop reference while using "engine": "chromy" takes forever to finish (not ...
Read more >
my code is slow and I have no idea how to fix it? [closed]
I'm making a program that you can draw in and when there are more than 38000 _points it starts to lag. here's the...
Read more >
Troubleshooting slow startup - Our Umbraco
Troubleshooting slow startup. Slow startup can occur if: No Examine indexes exist. Models builder is used in Pure Live mode. Depending on the...
Read more >
Rev Caption Style Guide v4.0.1
If a speaker is talking very slowly or has a long, dramatic pause in the middle of a sentence, you can split up...
Read more >
Angular coding style guide
Looking for an opinionated guide to Angular syntax, conventions, and application structure? Step right in. This style guide presents preferred conventions ...
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