You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(side note, nodejs failed with the same error when I had some pretty boring custom ansible.cfg, but I've removed all configuration & that fixed nodejs, but I still see the issue in many cases.)
OS / ENVIRONMENT
Debian Testing host,
Targetting a single Windows 19045.2728 (Windows 10 release dating to 2023/3/14) inventory machine
TASK [install nerd-fonts] ***************************************************************************************************************************************
task path: /home/rektide/src/compfuzor/nerd-fonts.win.pb:12
Using module file /usr/lib/python3/dist-packages/ansible_collections/community/windows/plugins/modules/win_scoop.ps1
Pipelining is enabled.
<xone.local> ESTABLISH WINRM CONNECTION FOR USER: rektide on PORT 5986 TO xone.local
EXEC (via pipeline wrapper)
fatal: [xone.local]: FAILED! => {
"changed": false,
"command": "powershell.exe C:\\Users\\rektide\\scoop\\shims\\scoop.ps1 install nodejs",
"invocation": {
"module_args": {
"architecture": null,
"global": false,
"independent": false,
"name": [
"nodejs"
],
"no_cache": false,
"purge": false,
"skip_checksum": false,
"state": "present"
}
},
"msg": "Error installing nodejs",
"rc": 1,
"stderr": "",
"stderr_lines": [],
"stdout": "Installing 'nodejs' (19.7.0) [64bit] [main]\nWARN By installing you accept following license: MIT (https://spdx.org/licenses/MIT.html)\nStarting
download with aria2 ...\nERROR Exception setting \"CursorVisible\": \"The handle is invalid.\r\n\"\nERROR This application failed to install: main/nodejs\n",
"stdout_lines": [
"Installing 'nodejs' (19.7.0) [64bit] [main]",
"WARN By installing you accept following license: MIT (https://spdx.org/licenses/MIT.html)",
"Starting download with aria2 ...",
"ERROR Exception setting \"CursorVisible\": \"The handle is invalid.",
"\"",
"ERROR This application failed to install: main/nodejs"
]
}
Additional Notes
Some packages do install just fine. I also needed cmake and it installed fine.
I tried using global: True and that didn't seem to change anything.
I have yet to get any fonts to install. I can use win_scoop_bucket to add nerd-fonts bucket. But every font I've tried to install (Hack-NF, FiraCode-NF, many more) shows the same error as nodejs does.
These packages all install fine on the box in cmd.exe.
With apologies, /cc @JamieMagee , original module author.
The text was updated successfully, but these errors were encountered:
SUMMARY
Many scoop packages fail to install with
win_scoop
, showing a common error:ISSUE TYPE
COMPONENT NAME
community.windows.win_scoop
akawin_scoop
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
inventory:
(side note,
nodejs
failed with the same error when I had some pretty boring customansible.cfg
, but I've removed all configuration & that fixed nodejs, but I still see the issue in many cases.)OS / ENVIRONMENT
Debian Testing host,
Targetting a single Windows 19045.2728 (Windows 10 release dating to 2023/3/14) inventory machine
STEPS TO REPRODUCE
EXPECTED RESULTS
Node.js installs
ACTUAL RESULTS
Additional Notes
Some packages do install just fine. I also needed
cmake
and it installed fine.I tried using
global: True
and that didn't seem to change anything.I have yet to get any fonts to install. I can use
win_scoop_bucket
to add nerd-fonts bucket. But every font I've tried to install (Hack-NF
,FiraCode-NF
, many more) shows the same error asnodejs
does.These packages all install fine on the box in
cmd.exe
.With apologies, /cc @JamieMagee , original module author.
The text was updated successfully, but these errors were encountered: