Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

管道元素中的“&”后面的表达式生成无效的对象。 #3513

Closed
yyystation opened this issue Jun 17, 2019 · 3 comments
Closed

Comments

@yyystation
Copy link

管道元素中的“&”后面的表达式生成无效的对象。该表达式必须生成命令名称、脚本块或 CommandInfo 对象。
所在位置 C:\Users\user\scoop\apps\scoop\current\lib\decompress.ps1:69 字符: 11

  •     & (Get-HelperPath -Helper 7zip) x "$Path" -o"$DestinationPath ...
    
  •       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [],RuntimeException
    • FullyQualifiedErrorId : BadExpression

ERROR Could not find 'node-v12.4.0-win-x64'! (error 16)

@everyx
Copy link

everyx commented Jul 9, 2019

@yyystation Leave the command should be better to indicate the problem.

@Ash258
Copy link
Contributor

Ash258 commented Jul 9, 2019

Duplicate of #3517

1 similar comment
@rasa
Copy link
Member

rasa commented Oct 20, 2020

Duplicate of #3517

@rasa rasa marked this as a duplicate of #3517 Oct 20, 2020
@rasa rasa closed this as completed Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants