镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

dev_web_nodejs.ps1 stall at Installing visual studio workload #79

Open

Description

was running the dev_web_nodejs script and got a few red messages, but the problem really happens when installing Visual Studio workloads, here is the screenshot:

image

the script stall there like for more than an hour, any clue? and then got this:

image

here are the print screen of the other issues found, perhaps they are related:

image

image

image

Activity

  1. yodurr commented on Nov 15, 2018

    @yodurr
    Contributor

    It's strange the title window says "Select Ubuntu 18.04" but that could just be an artifact of installing Ubuntu for WSL earlier in the script.

    Any chance you went offline during the install? Adding Clint Rutkas (@crutkas) who's more familiar with the visual studio installation.

  2. crutkas commented on Nov 15, 2018

    @crutkas
    Member

    can we get the logs?

    we did just update VS to 15.9, wonder if that could have caused an issue with Choco?

  3. ddieppa commented on Nov 21, 2018

    @ddieppa
    Author

    Here is the Boxstarter and Chocolatey log files, sorry for the delay
    boxstarter.log
    chocolatey.log

  4. AdmiringWorm commented on Nov 21, 2018

    @AdmiringWorm

    If I may, let me chime in a little here after looking at the issue and the logs.

    Lets start with the failure of the Visual Studio installation,
    this is basically just the installation timing out
    because Visual Studio (or in this case, the workload) uses too long.
    By default, chocolatey have a default timeout of 2700 seconds (45 minutes).

    I've seen myself when setting up my own computers
    that this sometimes isn't enough time when installing
    visual studio and their worloads.
    In this case, I would suggest editing the script
    and update the timeout to be a little longer
    (personally I use something like 2 hours or so).

    That can be easily achieved by adding --timeout 7200 to the command
    for installing visual studio (and the workloads).
    The reason it seems to stall though,
    is because by default the package is installing visual studio in
    silent/quiet mode, without showing the progress.
    If you wish to see the progress, you add the following to the choco install command:
    --package-parameters='"/passive"' (The order of the quotes is important here).

    Now onto the second error, which would be the missing string terminator.

    Looking at the history of the repo,
    this makes me actually believe that you perhaps is using an outdated edition
    of the repository, where the quotation of the arguments were used incorrectly.
    I would suggest that you either update to the latest master commit,
    or go through each install script in the repo and changing the quotation to be correct.
    (for instance, the quotes for git should be in the following order seen here: https://github.com/Microsoft/windows-dev-box-setup-scripts/blob/master/scripts/CommonDevTools.ps1#L4)

    Now for the last error (I'm skipping the subsystem one, since I'm not familiar with it):
    This is/was most likely due to the google chrome package being outdated,
    it usually is a few hours after google released a new version before a new
    one is available on chocolatey.
    This usually reslults in checksum errors during this time, as the same url
    is used for every version of Google Chrome.

    /cc Daniel Dieppa (@ddieppa)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions