None of your installers work on Windows 10

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise>state activate --default ActiveState-Projects/ActiveState-Perl-5.36.0
█ Creating a Virtual Environment for your Project’s Packages

█ Something Went Wrong

x Could not figure out what path to use

█ Need More Help?

• Run → state activate --help for general help
• Ask For Help → State Tool - ActiveState Community

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise>powershell -Command “& $([scriptblock]::Create((New-Object Net.WebClient).DownloadString(‘https://platform.activestate.com/dl/cli/_pdli01/install.ps1’)))” -c’state activate --default emerth2-org/Perl-5.32.1-Windows’
• Preparing Installer for State Tool Package Manager version 0.37.0-SHA6354096…√ Done

State Tool Package Manager is already installed at C:\Users\emerth\AppData\Local\ActiveState\StateTool\release. To reinstall use the --force flag.

Running state activate --default emerth2-org/Perl-5.32.1-Windows

█ Creating a Virtual Environment for your Project’s Packages

█ Something Went Wrong

x Could not figure out what path to use

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise>

“Something went wrong” – that’s really not very helpful.

Used to Active State provided local installers… perhaps you should start doing that again until you get this whole enviro & cloud delivery thing figured out.

emerth2.

Welcome to the ActiveState Community! and sorry to hear you’re having trouble. I just tried to install your project on my Windows 10 system by:

  1. Opening a CMD window
  2. Pasting the following command and hitting return:
    state activate --default emerth2-org/Perl-5.32.1-Windows

Here’s the output I recieved:

C:\Users\Administrator>state activate --default emerth2-org/Perl-5.32.1-Windows

Auto Update
───────────
Updating State Tool from 0.36.0-SHA7219a5e to 0.37.0-SHA6354096.
• Installing Update... ✔ Done
Update installed. Forwarding input to updated State Tool.

█ Creating a Virtual Environment for your Project's Packages

Setting Up Runtime
Resolving Dependencies ✔ Done
Downloading                              147/147
Installing                               147/147
✔ All dependencies have been installed and verified

As you noted “something happened” is not a very useful error message. Some common things to check:

  • Make sure your computer is connected the internet and not blocked by a firewall
  • Ensure you follow the steps I’ve listed above
  • If the first two steps are true in your case, you might want to try manually updating the state tool before you try installing your project again. You can update the state tool by running state update

Let me know if that helps solve the problem,

That looks like your current working directory is inside the Program Files folder tree for Visual Studio. That’s a path which you probably can’t write to, and “Could not figure out what path to use” generally means that the State Tool can’t find a suitable folder it can write runtime into. Your personal folders are more likely to be writable.