2015-04-23 58 views
2

我已經開始使用Berkshelf,它似乎有道理,但我無法圍繞它應該如何工作。伯克斯安裝在食譜上找不到自己

首先我使用berks cookbook mycookbook創建了一本食譜。然後,我添加的依賴,只發現它無法找到mycookbook當我運行berks install

如此看來,mycookbook(這是0.1.0版本)取決於默認的0.1.0版本mycookbook。爲什麼要mycookbook取決於mycookbook

Unable to satisfy constraints on package java due to solution constraint (mycookbook = 0.1.0). Solution constraints that may result in a constraint on java: [(mycookbook = 0.1.0) -> (java ~> 1.31.1)] 
Demand that cannot be met: (mycookbook = 0.1.0) 
Artifacts for which there are conflicting dependencies: java = 1.31.0 -> []Unable to find a solution for demands: mycookbook (0.1.0) 

回答

0

看來,如果您創建的食譜已經存在,您會收到此消息嗎?我不確定。但重命名後,消息已消失。