question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

“Cycle in the workspace file” when building on macOS

See original GitHub issue

MacOS:10.15.1 TB version: clone from TB master just now bazel version: 1.2.1 when i run bazel run tensorboard -- --logdir ../tmp ERROR: Failed to load Starlark extension ‘@npm_bazel_typescript//:index.bzl’. Cycle in the workspace file detected. This indicates that a repository is used prior to being defined. The following chain of repository dependencies lead to the missing definition.

  • @npm_bazel_typescript This could either mean you have to add the ‘@npm_bazel_typescript’ repository with a statement like http_archive in your WORKSPACE file (note that transitive dependencies are not added automatically), or move an existing definition earlier in your WORKSPACE file. ERROR: cycles detected during target parsing INFO: Elapsed time: 0.071s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) FAILED: Build did NOT complete successfully (0 packages loaded)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mengbancommented, Dec 20, 2019

Hi @bileschi I just print my python version and it’s python 3.7.0. what i did is different from the instruction are:

  1. I run bazel not in virtual env
  2. I didn’t use tf-nightly but tf 1.14 in my installed python packages. And I have run TB successfully strictly follow the instruction. Thanks a lot.
0reactions
bileschicommented, Dec 20, 2019

Thanks @mengban ! Best of luck with your project!

Read more comments on GitHub >

github_iconTop Results From Across the Web

2021年06月_weixin_39689506的博客_CSDN博客
Destroying aws_iam_user_login_profile does not remove the user's password. 2021-01-12. “Cycle in the workspace file” when building on macOS. 2021-01-12 ...
Read more >
bazel-federation from bazelbuild - Coder Social
Cycle in the workspace file detected. This indicates that a repository is used prior to being defined. The following chain of repository dependencies...
Read more >
bazel - 我可以从.bzl 文件加载通用规则吗? - Cache One
Cycle in the workspace file detected. This indicates that a repository is used prior to being defined. The following chain of repository dependencies...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found