Skip to content

Warning error during install #59326

Description

@graindigger

Version

24.5.0

Platform

Microsoft Windows NT 10.0.17763.0 x64

Subsystem

No response

What steps will reproduce the bug?

download 24.5.0 from https://nodejs.org/en/download/current
execute install_tools.bat

How often does it reproduce? Is there a required condition?

repro: always

Not enough space (4 GB free space on disk)

What is the expected behavior? Why is that the expected behavior?

successfull install

What do you see instead?

ERROR: The installation of visualstudio2019-workload-vctools failed (installer exit code: -2147024784).
The upgrade of visualstudio2019-workload-vctools was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2019-workload-vctools\tools\ChocolateyInstall.ps1'.
See log for details.

Chocolatey upgraded 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures

  • visualstudio2019-workload-vctools (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2019-workload-vctools\tools\ChocolateyInstall.ps1'.
    See log for details.

Additional information

WARNING: [3a54:0004][2025-08-02T01:29:27] Error: Pre-check verification: Visual Studio needs at least 6,32 Р"Р' of disk space. Try to free up space on C:\ or change your target drive.
WARNING: [3a54:0004][2025-08-02T01:29:27] Error: Pre-check verification failed with error(s) : SizePreCheckEvaluator.
WARNING: [3a54:0004][2025-08-02T01:29:27] Error 0x80070070: Pre-check verification failed with error(s) : SizePreCheckEvaluator.
WARNING: [3a54:0004][2025-08-02T01:29:27] Error 0x80070070: Engine threw an exception that is not being rethrown: Pre-check verification failed with error(s) : SizePreCheckEvaluator.
WARNING: Content of Visual Studio Installer error log file C:\Users\Igor\AppData\Local\Temp\chocolatey\dd_setup_20250802012919_errors.log:
WARNING: [3a54:0004][2025-08-02T01:29:27] Pre-check verification: Visual Studio needs at least 6,32 Р"Р' of disk space. Try to free up space on C:\ or change your target drive.
WARNING: [3a54:0004][2025-08-02T01:29:27] Pre-check verification failed with error(s) : SizePreCheckEvaluator.
WARNING: [3a54:0004][2025-08-02T01:29:27] Error 0x80070070: Pre-check verification failed with error(s) : SizePreCheckEvaluator.
WARNING: Р? Microsoft.VisualStudio.Setup.PrecheckManager.RunPrechecks(PrecheckParameters precheckParameters, VariableCollection properties)
WARNING: Р? Microsoft.VisualStudio.Setup.Engine.RunPrecheck(String destination, Product product, ExecuteAction action, IWindowsRestartManager rmService, ITelemetryOperation installOperation, InstallOperation install)
WARNING: Р? Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)

This info extremely hard to see as there are some real error (marked in red) which appears to be not an issue and can be proceeded* ( and number of warnings (marked in yellow). and actual error, marked as warning - is a crime

Example of errors that happens and still can be proceeded:
[1b04:0016][2025-08-02T01:29:17] Error 0x8013153b: [1b04:0016][2025-08-02T01:29:17] Could not update channel "https://aka.ms/vs/17/release/channel"
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в Microsoft.VisualStudio.Setup.Download.DownloadManagerAuthenticationProxy.d__27.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в Microsoft.VisualStudio.Setup.ChannelDownloader.d__7.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в Microsoft.VisualStudio.Setup.ChannelManager.d__70.MoveNext()
[1b04:000b][2025-08-02T01:29:17] Error 0x8013153b: [1b04:000b][2025-08-02T01:29:17] Could not update channel "https://aka.ms/vs/16/release/channel"
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в Microsoft.VisualStudio.Setup.Download.DownloadManagerAuthenticationProxy.d__27.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в Microsoft.VisualStudio.Setup.ChannelDownloader.d__7.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в Microsoft.VisualStudio.Setup.ChannelManager.d__70.MoveNext()

Activity

  1. StefanStojanovic commented on Aug 4, 2025

    @StefanStojanovic
    Contributor

    From the log, it can be seen that the installation fails with the SizePreCheckEvaluator error. Since you already mentioned that your free space was very low (4GB) I would suggest trying to free some more space on the C drive.

    In one place in the log, there is this Visual Studio needs at least 6,32 Р"Р' of disk space which I assume is 6.32 GB, so try freeing more space on the C drive and retrying this. Thanks in advance.

  2. graindigger commented on Aug 9, 2025

    @graindigger
    Author

    Dear @StefanStojanovic thank you, I've learned how to solve this before posting. I think my message got lost between logs in original post

    My points are:

    • This error is marked as warning in logs, not as an error. So it is much harder to locate that in logs. (Also I've never seen a 'warning error' before.)
    • Also the message that is shown on the screen when you launch the install_tools.bat states that only 3 GB is required:
      "This will require about 3 GiB of free disk space, plus any space necessary to
      install Windows updates. This will take a while to run."
  3. StefanStojanovic commented on Aug 12, 2025

    @StefanStojanovic
    Contributor

    Thanks for the reply.

    An issue with it being a warning is not related to Node.js. It is simply a way the Chocolatey package visualstudio2019-workload-vctools is designed. We are just trying to install it; the rest is handled on the package level.

    About the message that 3GiB of disk space is needed - it is 7 years old, and while it was probably true back then, now it is outdated. This can be fixed, as now only Visual Studio needs more than double that space. Since you were freeing space to make it pass recently, do you have some estimate of how much space is needed to install everything needed?

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