【发布时间】:2020-06-16 14:12:36
【问题描述】:
我正在使用 jhipster 网关应用程序作为微服务的网关。
为了分析我的 webpack 包,我正在尝试以下方法
跑npm install -g webpack-bundle-analyzer
在您的 Angular 应用程序中,运行 ng build --stats-json
这里出现如下错误
Cannot determine project or target for command.
Error: Cannot determine project or target for command.
at BuildCommand.initialize (C:\Rk\gateway\node_modules\@angular\cli\models\architect-command.js:122:23)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
【问题讨论】:
标签: angular webpack jhipster webpack-bundle-analyzer