#create-tauri-app powershell script does not work

6 messages · Page 1 of 1 (latest)

frank shale
#

When using the command from the quick start guide, it errors

PS D:\Users\me\Development> iwr -useb https://create.tauri.app/ps | iex
Start-Process : Cannot validate argument on parameter 'ArgumentList'. The argument is null or empty. Provide an
argument that is not null or empty, and then try the command again.
At line:18 char:67
+ ... s -FilePath $outFile -Wait -NoNewWindow -ArgumentList "$Env:CTA_ARGS"
+                                                           ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Start-Process], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.StartProcessCommand

This is powershell version 6 i believe? (whatever is the default that comes with windows 11)

old kiln
#

@tepid violet

#

So yea with the latest PowerShell 7.3.2, it works just fine. So we should probably mention that somewhere that it has to be version 7

alpine vessel
tepid violet
#

should be an easy fix, I will publish it as soon as I can