運行靈藥應用程序當我在PowerShell中鍵入iex -S mix
我得到這個錯誤:無法從PowerShell中
Invoke-Expression : A positional parameter cannot be found that accepts argument 'mix'.
At line:1 char:1
+ iex S mix
+ ~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Invoke-Expression], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.InvokeExpressionCommand
什麼是寫「-S混合」正確的方式「IEX」命令來獲得相同的後效果在cmd中輸入它會做什麼?這是一個問題,我不理解我相信的PowerShell語法。
iex與elixir有什麼關係? –
'-s'應該是什麼? iex是「Invoke-Expression」的別名,沒有任何以'S'開頭的參數。 – briantist
@PaulHicks yes iex代表交互式靈藥,我試圖運行它不調用 - 表達式 –