Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular xplat您在预期流的位置提供了无效的对象。您可以提供一个可观察的、承诺的、数组的或可观察的_Angular_Ionic Framework_Nomachine Nx - Fatal编程技术网

Angular xplat您在预期流的位置提供了无效的对象。您可以提供一个可观察的、承诺的、数组的或可观察的

Angular xplat您在预期流的位置提供了无效的对象。您可以提供一个可观察的、承诺的、数组的或可观察的,angular,ionic-framework,nomachine-nx,Angular,Ionic Framework,Nomachine Nx,我正在尝试使用xplat生成一个新的应用程序 我使用的是节点版本11.15 我试着做到以下几点 npx创建xplat工作区myworkspace 我生成所有内容,直到它提示 ?您想现在生成支持xplat的体系结构吗?您也可以稍后使用:nx generate@nstudio/xplat:init生成 现在不行[只需添加xplat工具] 电子[生成xplat电子支持] ❯ 离子[生成xplat离子载体] nativescript[生成xplat nativescript支持] web[生成xplat

我正在尝试使用xplat生成一个新的应用程序

我使用的是节点版本11.15

我试着做到以下几点

npx创建xplat工作区myworkspace

我生成所有内容,直到它提示

?您想现在生成支持xplat的体系结构吗?您也可以稍后使用:nx generate@nstudio/xplat:init生成
现在不行[只需添加xplat工具]
电子[生成xplat电子支持]
❯ 离子[生成xplat离子载体]
nativescript[生成xplat nativescript支持]
web[生成xplat web支持]

我选择了爱奥尼亚,我得到以下错误

您在需要流的位置提供了无效的对象。您可以提供一个可观察的、承诺的、数组的或可观察的。

这是全部内容

`npm install -D @nstudio/xplat

> @nstudio/xplat@8.0.5 postinstall /Users/ag/nxprojects/myworkspace/node_modules/@nstudio/xplat
> node src/utils/postinstall.js

Patch for nx format have been applied

>  XPLAT  Note:

  xplat is updating "/Users/ag/nxprojects/myworkspace/.prettierignore" with a few important extra rules. You may double-check the contents afterwards to ensure they meet your satisfaction.

npm WARN acorn-dynamic-import@4.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.

+ @nstudio/xplat@8.0.5
added 11 packages from 66 contributors and audited 898038 packages in 30.891s
found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details
npx nx g @nstudio/xplat:init

>  NX   NOTE  Nx didn't recognize the command, forwarding on to the Angular CLI.

? Would you like to generate xplat supporting architecture now? You can also generate later with: nx generate @nstudio/xplat:init ionic             [generate xplat Ionic support]
? Do you prefer to use a frontend framework? angular          [ensure platforms are added with Angular]
? Please input a 2-3 character prefix to use with xplat generators: ci
You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.
Command failed: npx nx g @nstudio/xplat:init`

同样的问题是否注意到它在
nx g@nstudio/xplat:init
上失败,但是如果你进入工作区并运行
ng g@nstudio/xplat:init
,它就会完成。

同样的问题是否注意到它在
nx g@nstudio/xplat:init
上失败,但是如果你进入工作区并运行
ng g@nstudio/xplat:init
然后完成。

有相同的问题您是否设法解决了相同的问题您是否设法解决了相同的问题