PS C:\Users\mcsec> choco install typescript -y Chocolatey v1.1.0 2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).
Validation Warnings:
- A pending system reboot request has been detected, however, this is being ignored due to the current Chocolatey configuration. If you want to halt when this occurs, then either set the global feature using: choco feature enable -name=exitOnRebootDetected or pass the option --exit-when-reboot-detected.
Installing the following packages: typescript By installing, you accept licenses for the packages. Progress: Downloading nodejs-lts 16.17.1… 100% Progress: Downloading typescript 4.8.4… 100%
nodejs-lts v16.17.1 [Approved] nodejs-lts package files install completed. Performing other installation steps. Installing 64 bit version Installing nodejs-lts… WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '–install-arguments=“'/l*v c:\nodejs-lts_msi_install.log'”'. Then search the MSI Log for “Return Value 3” and look above that for the error. ERROR: Running [“C:\WINDOWS\System32\msiexec.exe” /i “C:\ProgramData\chocolatey\lib\nodejs-lts\tools\node-v16.17.1-x64.msi” /qn /norestart /l*v “C:\Users\mcsec\AppData\Local\Temp\chocolatey\nodejs-lts.16.17.1.MsiInstall.log” ] was not successful. Exit code was '1603'. Exit code indicates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '–install-arguments=“'/l*v c:\nodejs-lts_msi_install.log'”'. Then search the MSI Log for “Return Value 3” and look above that for the error.. The install of nodejs-lts was NOT successful. Error while running 'C:\ProgramData\chocolatey\lib\nodejs-lts\tools\chocolateyinstall.ps1'.
See log for details.
typescript v4.8.4 [Approved] typescript package files install completed. Performing other installation steps. Installing typescript using nodejs… 0
The install of typescript was successful. Software install location not explicitly set, it could be in package or default install location of installer.
Chocolatey installed 1/2 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- nodejs-lts (exited 1603) - Error while running 'C:\ProgramData\chocolatey\lib\nodejs-lts\tools\chocolateyinstall.ps1'. See log for details.PS C:\Users\mcsec>