OpenAdapt icon indicating copy to clipboard operation
OpenAdapt copied to clipboard

[Bug]: windows install command

Open abrichr opened this issue 9 months ago • 1 comments

Describe the bug

On a Windows 11 VM, the install command fails silently when checking for NVM (i.e. the window closes).

Workaround: install nvm with winget:

winget install -e --id CoreyButler.NVMforWindows

When trying again after installing NVM:

Success: Run `pip install poetry`
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: openadapt (0.25.3)
Success: Run `poetry install`
Version 21.7.3 is already installed.
Now using node v21.7.3 (64-bit)

added 457 packages, and audited 458 packages in 46s

173 packages are looking for funding
  run `npm fund` for details

3 moderate severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues, run:
  npm audit fix --force

Run `npm audit` for details.
Success: Install dashboard dependencies

cmdlet RunAndCheck at command pipeline position 1
Supply values for the following parameters:
Desc:

Typing any string allows the installation to continue.

To Reproduce

Run the install command:

Start-Process powershell -Verb RunAs -ArgumentList '-NoExit', '-ExecutionPolicy', 'Bypass', '-Command', "iwr -UseBasicParsing -Uri 'https://raw.githubusercontent.com/OpenAdaptAI/OpenAdapt/main/install/install_openadapt.ps1' | Invoke-Expression"

abrichr avatar May 22 '24 17:05 abrichr