【问题标题】:How do I install ngc as a project specific cli tool?如何将 ngc 安装为项目特定的 cli 工具?
【发布时间】:2019-09-07 09:53:45
【问题描述】:

我正在尝试安装 Angular 编译器 (ngc) 作为我的 nativescript 插件的项目特定依赖项。但是没有关于如何安装它的信息。

我希望能够跑步:

./node_modules/.bin/ngc

【问题讨论】:

    标签: angular tooling


    【解决方案1】:

    编译器的ngc命令行工具可以使用安装

    npm add @angular/compiler-cli
    

    【讨论】:

    • 你知道如何运行这个node_modules/.bin/ngc -p tsconfig-aot.json吗? , 我正面临 node_modules 无法识别的命令,
    猜你喜欢
    • 1970-01-01
    • 2011-12-12
    • 2019-04-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多