getappmap / vscode-appland

AppLand extension for VSCode
MIT License
135 stars 14 forks source link

Retry CLI tools installation #518

Open dividedmind opened 1 year ago

dividedmind commented 1 year ago

On Windows especially installation of CLI tools occasionally fails with errors such as:

Error: EBUSY: resource busy or locked, copyfile '\extern\yarn.js' -> 'c:\Users\user\AppData\Roaming\Code\User\globalStorage\appland.appmap\yarn.js'

We should make sure to retry it after a delay in case of an error.

dustinbyrne commented 1 year ago

I'm assuming this will be fixed with the lockfile update (https://github.com/getappmap/vscode-appland/pull/527)

dividedmind commented 1 year ago

As with #517 , #527 won't fix this per se, but it might make the biggest reason to do it go away.