简体   繁体   English

Bit.dev(Bit Harmony):“bit tag”命令无法完成

[英]Bit.dev (Bit Harmony): `bit tag` command fails to complete

I was exporting my component to Bit.dev, when I got stuck at the bit tag --message command, with the error message: Failed task 1: "teambit.pkg/pkg:PackComponents" of env "teambit.harmony/node"我正在将我的组件导出到 Bit.dev,当我卡在bit tag --message命令时,出现错误消息: Failed task 1: "teambit.pkg/pkg:PackComponents" of env "teambit.harmony/node"

I have already ran the previous commands: bit link --rewire , bit compile and bit build --all prior.我已经运行了之前的命令: bit link --rewirebit compilebit build --all prior。 I would also like to mention that I have circular dependencies errors which I workaround with the --ignore-issues \"CircularDependencies\" flag.我还想提一下,我有循环依赖错误,我使用--ignore-issues \"CircularDependencies\"标志解决了这些错误。

Have anyone faced this issue before, and managed to solve it?以前有没有人遇到过这个问题,并设法解决了? Thanks in advance.提前致谢。

I have found out that the error is due to the circular depdendency error between two of my components.我发现错误是由于我的两个组件之间的循环依赖错误造成的。

Now i face the issue where one file in component A imports another from component B, while that particular file in component B imports another different file from component A.现在我面临这样的问题:组件 A 中的一个文件从组件 B 导入另一个文件,而组件 B 中的特定文件从组件 A 导入另一个不同的文件。

A1 -> B1 -> A2 A1 -> B1 -> A2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM