0

我正在遵循此页面上的说明: https ://qlik.dev/tutorials/build-a-chatbot-using-the-qlik-sense-natural-language-api

我实际上收到一个错误,内容如下:

    At line:1 char:5
npx @nebula.js/cli create mashup hello-saas
+     ~~~~~~~
The splatting operator '@' cannot be used to reference variables in an expression. '@nebula' can be used only as an argument to a command. To reference variables in an expression use '$nebula'.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : SplattingNotPermitted
4

1 回答 1

0

这是因为您在PowerShell. 你不能@在那里这么容易地使用。

两种选择:

  • 运行命令cmd
  • 或者, in PowerShell,将@命令用引号括起来。像这样:npx "@nebula.js/cli" create mashup hello-saas
于 2021-11-26T14:37:59.740 回答