Skip to content
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

elan self update fails with error could not create link #95

Open
pwintz opened this issue May 11, 2023 · 2 comments
Open

elan self update fails with error could not create link #95

pwintz opened this issue May 11, 2023 · 2 comments

Comments

@pwintz
Copy link

pwintz commented May 11, 2023

When I run elan self update, the following error occurs:

$  elan self update
←[1minfo: ←[0mchecking for self-updates
←[31m←[1merror: ←[0mcould not create link from 'C:\Users\pwintz\.elan\bin\elan.exe' to 'C:\Users\pwintz\.elan\bin\lake.exe'

Any suggestions for how to fix it?

@matt8s
Copy link

matt8s commented Jul 30, 2023

I am running Lean 4 on Visual Studio Code. I had the same issue with running this from the command line, while VS Code was open. Once I closed VS Code, I tried this again. With VS Code closed, it worked just fine!

@Kha
Copy link
Member

Kha commented Jul 30, 2023

It's an extremely annoying limitation of Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants