如何解决在Angular应用中使用Bazel运行`yarn start`时出错
我试图使用Bazel来构建Angular应用。这是我所做的事情-
-
yarn ng add @angular/bazel
-
yarn global add @angular/bazel
-
yarn add @bazel/bazelisk
-
yarn global add @bazel/bazel@2.1.0
-
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 举报,一经查实,本站将立刻删除。