-
Notifications
You must be signed in to change notification settings - Fork 5.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
deno upgrade.... Deno has panicked. #20683
Comments
then I tried:
so then i tried
|
Can you try upgrade to |
Also, what version of powershell do you have installed?
Maybe you have an old version installed? Seems like that command is failing for some reason. Line 562 in 3c0d6de
|
|
You are absolute legends for taking the time to scope this out. Thank you. It's not solved yet but I'm just grateful for y'all. I downloaded latest version of powershell just to be sure, opened it as administrator, ran deno upgrade, got the same also found C:\Program Files\PowerShell\7\pwsh.exe and set vs code terminal to open there, then closed vs code and reopened it, then tried to |
@crowlsyong that looks like the pwsh.exe version (powershell core) and not powershell.exe. Can you re-run this while first executing "powershell.exe" first in order to get into windows powershell?
Then maybe try running (in powershell.exe---not powershell core):
Not sure it will reveal anything though. Maybe what's happening is the temp directory can't be written to. |
well well well, looky here. i'm not exactly sure what this means, but it seems like I'm not on version 7!
I am not sure if that helps, but I tried doing what you said and it doesn't seem like I made much progress. I tried |
It's very confusing, but your Powershell Core is version 7 and the Windows Powershell version is 5 (same for me). Your windows powershell version is actually slightly newer than mine. My guess is maybe there is no .net framework installed on your machine or it's very old. We should look into replacing the |
I'm not sure if I should close this or not- I still can't upgrade Deno right now but it looks like you are implementing updates. I tried downloading the latest .NET from Microsoft, tried downloading latest version of powershell 7, I put this in vs code settings json: Could it be something in my deno.json?
Perhaps my VPN is causing some issue during the connection? Haha I'm truly clueless. |
I think it has to do with your Windows Powershell ( |
I opened #20711 which should fix this issue. We can use tar.exe instead. |
thank you. I really appreciate the help and communication. I'm not sure how the extraction process works, but if there is any information I can provide, or instructions I can follow, let me know. 🙏 |
I forgot to try the ladder half of what you suggested. So here is my attempt which did not result in
|
Just some more debug info if ya want it
|
This is what we do for deno install, so it should be fine here denoland/deno_install#219 Closes #20683
This is what we do for deno install, so it should be fine here denoland/deno_install#219 Closes #20683
I have gotten this error a few times in the last few days/weeks. In the most recent case, I wanted to test some Deno KV stuff with Fresh Framework.
deno run -A -r https://fresh.deno.dev
deno-kv-playground
Tailwind?
Y
VS Code?
Y
cd deno-kv-playground
deno upgrade
then I tried:
Not sure how to proceed, so I followed the directions and reported it here because I couldn't find another issue with the exact same sequence that I used.
The text was updated successfully, but these errors were encountered: