Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first deploy on heroku fails during the CLI compilation #4

Closed
Dlacreme opened this issue Apr 14, 2020 · 1 comment
Closed

first deploy on heroku fails during the CLI compilation #4

Dlacreme opened this issue Apr 14, 2020 · 1 comment

Comments

@Dlacreme
Copy link

Hello,

I've followed the documentation to deploy Amber on Heroku.
However, I got this error (full log)

Showing last frame. Use --error-trace for full trace.
In lib/mysql/src/mysql/connection.cr:31:12
 31 | rescue Errno
             ^----
Error: Errno is not a subclass of Exception
Semantic (main):                  
 !     Push failed

It happens during the task:
'-----> Amber CLI not compiled... -----> Installing amber CLI... Resolving dependencies'

I am using:

  • Crystal: v0.34.0 (shown in the log even though my shard.yml target v0.33? weird)
  • Amber: v.0.33.0

What I've tried to so do far:

  • [FAILED] install a MySQL add-on on heroku (thinking that it would add some missing dependencies)
  • [FAILED] add 'crystal-lang/crystal-mysql' to shards.yml

Thank you for your time,

@Dlacreme
Copy link
Author

I've upgraded my project to Crystal v0.34 and the problem disappeared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant