Error installing version 0.15.0 with Crystal 0.25.0 and Amber 0.8.0
lebogan opened this issue · comments
Lewis E. Bogan commented
I am using this shard with an amber project and keep getting this error:
Error resolving pg (~> 0.14.1, ~> 0.15.0)
My shard.yml
:
pg:
github: will/crystal-pg
version: ~> 0.15.0
If I try to install the master branch, I get 0.14.1 which breaks my app with JSON::TYPE error.
I think you fixed the JSON error. Do I have to install the latest version another way?
Thank you for this great shard.
Kostya M commented
may be this shards 0.8.0 bug, try rm -rf ~/.cache/shards/
Lewis E. Bogan commented
Thank you. Removing the cached repo and reinstalling did the trick.:-)
…On Thu, 2018-06-28 at 12:02 -0700, O_o wrote:
may be this shards 0.8.0 bug, try ~/.cache/shards/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c5
5493e4bb","name":"GitHub"},"entity":{"external_key":"github/will/crys
tal-pg","title":"will/crystal-pg","subtitle":"GitHub
repository","main_image_url":"https://assets-cdn.github.com/images/em
ail/message_cards/header.png","avatar_image_url":"https://assets-
cdn.github.com/images/email/message_cards/avatar.png","action":{"name
":"Open in GitHub","url":"https://github.com/will/crystal-pg"}},"upda
***@***.*** in #145: may be
this shards 0.8.0 bug, try
`~/.cache/shards/`"}],"action":{"name":"View Issue","url":"https://gi
thub.com/will/crystal-pg/issues/145#issuecomment-401139915"}}}
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#145 (comment)
-401139915",
"url": "#145 (comment)
1139915",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
***@***.***": "MessageCard",
***@***.***": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [will/crystal-pg] Error installing version 0.15.0 with
Crystal 0.25.0 and Amber 0.8.0 (#145)",
"sections": [
{
"text": "",
"activityTitle": "**O_o**",
"activityImage": "https://assets-cdn.github.com/images/email/message_
cards/avatar.png",
"activitySubtitle": ***@***.***",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
***@***.***": "ActionCard",
"inputs": [
{
"isMultiLine": true,
***@***.***": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
***@***.***": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\":
\"IssueComment\",\n\"repositoryFullName\": \"will/crystal-
pg\",\n\"issueId\": 145,\n\"IssueComment\":
\"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
***@***.***": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\":
\"will/crystal-pg\",\n\"issueId\": 145\n}"
},
{
"targets": [
{
"os": "default",
"uri": "#145 (comment)
1139915"
}
],
***@***.***": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
***@***.***": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\":
351249833\n}"
}
],
"themeColor": "26292E"
}
]