在Angular应用中使用Bazel运行`yarn start`时出错

问题描述

enter image description here

我试图使用Bazel来构建Angular应用。这是我所做的事情-

  1. yarn ng add @angular/bazel
  2. yarn global add @angular/bazel
  3. yarn add @bazel/bazelisk
  4. yarn global add @bazel/[email protected]
  5. yarn global add @bazel/bazelisk@^1.6.1

(因为package.json文件具有这些版本) 我仍然收到错误消息

iBazel [3:32PM]: Error getting Bazel info exit status 2
iBazel [3:32PM]: Querying for files to watch...
INFO: Reading rc options for 'query' from /Users/sohinimukherjee/frontend/question-ingestion/.bazelrc:
  Inherited 'common' options: --experimental_allow_incremental_repository_updates
ERROR: --experimental_allow_incremental_repository_updates :: Unrecognized option: --experimental_allow_incremental_repository_updates

当我运行yarn start时,基本上运行node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng serve

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)