运行灵药应用程序当我在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代表交互式灵药,我试图运行它不调用 - 表达式 –