Skip to content

Can't install #1506

@modestotech

Description

@modestotech

Current behavior

Just setting up my new computer and can't install DevToys with chocolatey.

The error is: ERROR: The type initializer for '<Module>' threw an exception.

See log beneath:

$ choco install devtoys -y
Chocolatey v2.4.2
Installing the following packages:
devtoys
By installing, you accept licenses for the packages.
Downloading package from source 'https://community.chocolatey.org/api/v2/'
Progress: Downloading devtoys 1.0.13... 100%

devtoys v1.0.13 [Approved]
devtoys package files install completed. Performing other installation steps.
Downloading devtoys 64 bit
  from 'https://github.com/veler/DevToys/releases/download/v1.0.13.0/64360VelerSoftware.DevToys_1.0.13.0_neutral_._j80j2txgjg9dj.msixbundle'
Progress: 100% - Completed download of C:\ProgramData\chocolatey\lib\devtoys\tools\64360VelerSoftware.DevToys_1.0.13.0_neutral_._j80j2txgjg9dj.msixbundle (158.85 MB).
Download of 64360VelerSoftware.DevToys_1.0.13.0_neutral_._j80j2txgjg9dj.msixbundle (158.85 MB) completed.
Hashes match.
C:\ProgramData\chocolatey\lib\devtoys\tools\64360VelerSoftware.DevToys_1.0.13.0_neutral_._j80j2txgjg9dj.msixbundle
ERROR: The type initializer for '<Module>' threw an exception.
The install of devtoys was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\devtoys\tools\chocolateyinstall.ps1'.
 See log for details.

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

Failures
 - devtoys (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\devtoys\tools\chocolateyinstall.ps1'.
 See log for details.

How to reproduce it (as minimally and precisely as possible)

Run choco install devtoys -y

Expected behavior

Be able to install DevToys.

Screenshots

No response

Workaround

No response

Affected platforms

Windows

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

Tried several, 1.0.13 is the latest

Relevant Assets/Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions