lvim-tech/lvim

Issue when installing on windows

Sipper1236 opened this issue · 0 comments

The command dosent work in powershell
this is the error message i get

'' Invoke-Expression : At line:5 char:25

  • $LV_BRANCH = $LV_BRANCH ?? "master"
  •                     ~~
    

Unexpected token '??' in expression or statement.
At line:6 char:25

  • $LV_REMOTE = $LV_REMOTE ?? "lunarvim/lunarvim.git"
  •                     ~~
    

Unexpected token '??' in expression or statement.
At line:7 char:35

  • $INSTALL_PREFIX = $INSTALL_PREFIX ?? "$HOME.local"
  •                               ~~
    

Unexpected token '??' in expression or statement.
At line:9 char:41

  • $env:XDG_DATA_HOME = $env:XDG_DATA_HOME ?? $env:APPDATA
  •                                     ~~
    

Unexpected token '??' in expression or statement.
At line:10 char:45

  • $env:XDG_CONFIG_HOME = $env:XDG_CONFIG_HOME ?? $env:LOCALAPPDATA
  •                                         ~~
    

Unexpected token '??' in expression or statement.
At line:11 char:43

  • $env:XDG_CACHE_HOME = $env:XDG_CACHE_HOME ?? $env:TEMP
  •                                       ~~
    

Unexpected token '??' in expression or statement.
At line:13 char:55

  • $env:LUNARVIM_RUNTIME_DIR = $env:LUNARVIM_RUNTIME_DIR ?? "$env:XDG_DA ...
  •                                                   ~~
    

Unexpected token '??' in expression or statement.
At line:14 char:53

  • $env:LUNARVIM_CONFIG_DIR = $env:LUNARVIM_CONFIG_DIR ?? "$env:XDG_CONF ...
  •                                                 ~~
    

Unexpected token '??' in expression or statement.
At line:15 char:51

  • $env:LUNARVIM_CACHE_DIR = $env:LUNARVIM_CACHE_DIR ?? "$env:XDG_CACHE_ ...
  •                                               ~~
    

Unexpected token '??' in expression or statement.
At line:16 char:49

  • $env:LUNARVIM_BASE_DIR = $env:LUNARVIM_BASE_DIR ?? "$env:LUNARVIM_RUN ...
  •                                             ~~
    

Unexpected token '??' in expression or statement.
At line:1 char:196

  • ... a36b/utils/installer/install.ps1 -UseBasicParsing | Invoke-Expression ''
  •                                                     ~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ParserError: (:) [Invoke-Expression], ParseException
    • FullyQualifiedErrorId : UnexpectedToken,Microsoft.PowerShell.Commands.InvokeExpressionCommand