LoginSignup
0
0

More than 5 years have passed since last update.

glide使っててハマった時

Posted at

状況

GAE/GoのProjectにglideを採用した後にginを追加した時

原因

ginと他libraryのprotobufのバージョンが違うから(恐らくginの依存管理で別のバージョンが打たれている)、
以下のようなログが出る。

[ERROR] This error means the referenced package was not found.
[ERROR] Missing file or directory errors usually occur when multiple packages
[ERROR] share a common dependency and the first reference encountered by the scanner
[ERROR] sets the version to one that does not contain a subpackage needed required
[ERROR] by another package that uses the shared dependency. Try setting a
[ERROR] version in your glide.yaml that works for all packages that share this
[ERROR] dependency.

対処

とりあえず、最新のコミットIDをversionに記載する感じで・・

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0