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.

WSL gets stuck at running scully

See original GitHub issue

🐞 Bug report

Description

Having issues probably because my WSL. I followed the instructions adding the Puppeteer and adding the settings into my scully config file.

🔬 Minimal Reproduction

  1. Create a project with ng new
  2. Add scully
  3. Add blog ng g @scullyio/init:blog
  4. Build and run scully npm run build && npm run scully <= this is where it gets stuck

💻Your Environment

WSL 2 with Ubuntu 20

➜  blog-starter-kit git:(master) ✗ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:        20.04
Codename:       focal

Angular Version:




➜  blog-starter-kit git:(master) ✗ ng version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 11.0.5
Node: 14.15.3
OS: linux x64

Angular: 11.0.5
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1100.5
@angular-devkit/build-angular   0.1100.5
@angular-devkit/core            11.0.5
@angular-devkit/schematics      11.0.5
@schematics/angular             11.0.5
@schematics/update              0.1100.5
rxjs                            6.6.3
typescript                      4.0.5

Scully Version:




"@scullyio/init": "^1.0.1",
    "@scullyio/ng-lib": "^1.0.0",
    "@scullyio/scully": "^1.0.0",

🔥 Exception or Error




# Just stuck at this point...
➜  blog-starter-kit git:(master) ✗ npm run scully

> blog-starter-kit@0.0.0 scully /home/ruslan/learn/angular/scully-projects/blog-starter-kit
> scully

logging with severity "warning"

**********************************************************
**********************************************************
You are using "WSL" as a terminal, if you get an
error please read the pre-requisites for Microsoft WSL.
https://scully.io/docs/learn/getting-started/installation/
**********************************************************
**********************************************************

using plugins from folder "./scully"
 ☺   new Angular build imported
Background servers already running.
Finding all routes in application.

----------------------------------
Using stored unhandled routes!.
   To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------
Pull in data to create additional routes.
Route list created in files:
  "./src/assets/scully-routes.json",
  "/home/ruslan/learn/angular/scully-projects/blog-starter-kit/dist/static/assets/scully-routes.json",
  "/home/ruslan/learn/angular/scully-projects/blog-starter-kit/dist/blog-starter-kit/assets/scully-routes.json"

⠙ Creating Route List: 3/3

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
SanderEliascommented, Jan 16, 2021

@ruslanguns Well, I work on Ubuntu (no WSL, I run it bare bones in my system) and I have no issue. I know Jorge is using windows and is also using the WSL without issue. As it is working on your computer when you are not using the WSL, it seems something in your WSL environment. Probably it has something to do with setting up puppeteer and chromium in there. Have a look at the puppeteer troubleshooting documentation

I will await your results, if there is anything we can do in Scully to fix this we would gladly do so.

1reaction
SanderEliascommented, Jan 15, 2021

@ruslanguns let’s await @jorgeucano’s reaction. I know he has a large workload ATM.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install Ubuntu on WSL2 and get started with graphical ...
What you will learn: How to enable and install WSL on Windows 10 and Windows 11; How to install and run a simple...
Read more >
Docker unable to run with WSL - Forums - Grand Challenge
I'm following the algorithm tutorial, and get stuck with the Docker installation. So basically, Docker fails to start running: When I run:
Read more >
Systemd support is now available in WSL!
The Windows Subsystem for Linux (WSL) can now run systemd inside of your WSL distros, empowering you to do more with your Linux...
Read more >
WWE NXT TakeOver 36 Live Results TakeOver 36 Updates ...
Kross gets two close falls. Joe gets control and lands a belly-to-belly suplex but is winded. The SAMOAN SUBMISSION MACHINE! - WWE NXT...
Read more >
Upgrade Ubuntu Version on WSL - DEV Community ‍ ‍
First, we need to close all terminals that are using WSL, and then shut it down to avoid data corruption running the wsl...
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