Skip to content

windows 安装报错 #130

Description

@SuSuSoo
PS C:\Users\Bagayal> iwr https://raw.githubusercontent.com/voidint/g/master/install.ps1 -useb | iex
iex : 所在位置 行:9 字符: 30
+ $base_dir = $base_dir -eq "" ? ($env:G_HOME ? $env:G_HOME : "$HOME\.g ...
+                              ~
表达式或语句中包含意外的标记“?”。
所在位置 行:9 字符: 45
+ $base_dir = $base_dir -eq "" ? ($env:G_HOME ? $env:G_HOME : "$HOME\.g ...
+                                             ~
表达式或语句中包含意外的标记“?”。
所在位置 行:9 字符: 44
+ $base_dir = $base_dir -eq "" ? ($env:G_HOME ? $env:G_HOME : "$HOME\.g ...
+                                            ~
表达式中缺少右“)”。
所在位置 行:9 字符: 71
+ ... = $base_dir -eq "" ? ($env:G_HOME ? $env:G_HOME : "$HOME\.g") : $base ...
+                                                                 ~
表达式或语句中包含意外的标记“)”。
所在位置 行:1 字符: 76
+ ... ://raw.githubusercontent.com/voidint/g/master/install.ps1 -useb | iex
+                                                                       ~~~
    + CategoryInfo          : ParserError: (:) [Invoke-Expression], ParseException
    + FullyQualifiedErrorId : UnexpectedToken,Microsoft.PowerShell.Commands.InvokeExpressionCommand

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions