-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2316632087 (0x8A150017) Error when using winget install
#2808
Comments
is this on Windows 10? using TLS 1.3? note: there's a pinned issue about the error with 0 kb manifest files #2718 |
I am on windows 11; I do not know how to check my current TLS version. Could you tell me how? |
Which version of Node.js is in use? Could you append Winget logs can be found here, or at the location from
|
If you have not modified them since installation then Win11 will default to have support for v1.3 enabled. https://learn.microsoft.com/en-us/windows/win32/secauthn/tls-cipher-suites-in-windows-11 This can be configured in a few places: (wiki with pictures on MS Technet below) TL;DR locations summary: b) for each user account individually by using the Advanced section of the Internet Options control panel, (start->run->inetcpl.cpl) |
I have found and fixed my issue. When I checked the logs it said that the version could not be found, and that's because the command that was getting executed from my code sent the version as Code: const cmd = require('child_process').spawn;
const cmdStream = cmd('winget', ['install', `--id=Discord.Discord`, '-v', `1.0.9004`, '-e', '--accept-package-agreements', '--accept-source-agreements']);
const updateAppData = [];
let updatePrep = false;
let updateMsg = true;
cmdStream.stdout.on('data', (data) => {
data = data.toString();
console.log(data);
});
cmdStream.stderr.on('data', (data) => {
console.log('stderr: ' + data.toString());
});
cmdStream.on('exit', async (code) => {
console.log('child process exited with code ' + code.toString());
}); |
I am getting the error code on exit,
2316632087 (0x8A150017)
, which translates toAPPINSTALLER_CLI_ERROR_NO_MANIFEST_FOUND
when running the commandwinget install --id=Discord.Discord -v "1.0.9004" -e --accept-package-agreements --accept-source-agreements
in nodejs. Running it in a UI shell seems to work fine.My code:
Why does this happen?
The text was updated successfully, but these errors were encountered: