3Dxg
3Dxg2mo ago

window install problem

Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows PS C:\windows\system32> irm https://deno.land/install.ps1 | iex >> % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 40.5M 100 40.5M 0 0 2521k 0 0:00:16 0:00:16 --:--:-- 2275k /usr/bin/tar: Cannot connect to C: resolve failed Deno was installed successfully to C:\Users\yadav.deno\bin\deno.exe Run 'deno --help' to get started
Migrating from Windows PowerShell 5.1 to PowerShell 7 - PowerShell
Update from PowerShell 5.1 to PowerShell 7 for your Windows platforms.
7 Replies
Bhuwan
Bhuwan2mo ago
Whats the problem here, seems to be installed, check if deno is added to the path, if its not add it and the use it
Fifth-Normal-Form
That looks incorrect. the line
Deno was installed successfully to C:\Users\yadav.deno\bin\deno.exe
Deno was installed successfully to C:\Users\yadav.deno\bin\deno.exe
Should have been
Deno was installed successfully to C:\Users\yadav\.deno\bin\deno.exe
Deno was installed successfully to C:\Users\yadav\.deno\bin\deno.exe
Note the missing backslash between yadav and ,deno. Check that first path to see if it has a \bin folder in it.
If so something went wrong! Deno may have been added correctly in the path environment variable.
Please check your path environment variable.
in powershell enter $env:Path
It should contain:
C:\Users\yadav\.deno\bin
C:\Users\yadav\.deno\bin
If it does, Deno may have been installed accidentally in the folder:
C:\Users\yadav.deno\bin
C:\Users\yadav.deno\bin
rather than where it should be:
C:\Users\yadav\.deno\bin
C:\Users\yadav\.deno\bin
If so, I would report this as a bug.
Bhuwan
Bhuwan2mo ago
Sorry missed that now that you point it out that is indeed a bug, it would bw wise to open an issue But the script looks correct to me, have you set a DENO_INSTALL variable?
Bhuwan
Bhuwan2mo ago
No description
Bhuwan
Bhuwan2mo ago
If you use the command without the env variable then it will indeed be installed to you home directory following .deno\bin You can check the value using $env:DENO_INSTALL, see if you get any value if so just unset the variable and re run
3Dxg
3DxgOP2mo ago
i was saw my folder C:\Users\yadav.deno\bin it is empty i download form github repo then install but direct cli install not working well for me so try to investigate to it what is going on
Ale1508
Ale15082mo ago
I have the same problem and I'm looking for a solution. The first time I installed it CLI commands were ok but now I reopened it and they are not working anymore