在nrwl nx中生成NestJS模块会引发未处理的异常错误

时间:2020-03-17 08:01:16

标签: nestjs nrwl-nx

我正在尝试从Nrwl nx项目中的cli生成NestJS模块,并且出现错误提示

发生未处理的异常:在集合“ @ nrwl / nest”中找不到逻辑示意图“模块”。

我正在尝试用

生成它

ng g @ nrwl / nest:module my-new-module-name

这是在Nrwl中执行此操作的正确方法吗?还是我们应该做其他事情?

1 个答案:

答案 0 :(得分:2)

没有这样的示意图 enter image description here

您只能使用那个来生成nestjs模块 enter image description here