First `update` after install on widows shows `ENOENT` error
mdonnalley opened this issue · 2 comments
mdonnalley commented
Describe the bug
First update
after a new install of a CLI on windows shows this error
Error: ENOENT: no such file or directory, open 'C:\Users\username\AppData\Local\sf\client\bin\sf.cmd'
Code: ENOENT
The update
command still succeeds, however.
To Reproduce
Steps to reproduce the behavior:
- On windows machine
- Install salesforce CLI from https://developer.salesforce.com/tools/salesforcecli
- run
sf update
Expected behavior
No error to be shown during the first update.
Environment (please complete the following information):
- OS & version: windows
- Shell/terminal & version: powershell 7.2.4, cmd.exe
git2gus commented
This issue has been linked to a new work item: W-15664055
mdonnalley commented
Closing this since it's a duplicate of #798