ambrockets
ambrockets copied to clipboard
Unable to build due to missing secure_random
Running $ shards build ambrockets
Results in the following error:
Building: ambrockets
Error target ambrockets failed to compile:
Error in src/ambrockets.cr:1: while requiring "../config/*"
require "../config/*"
^
in config/application.cr:1: while requiring "amber"
require "amber"
^
in lib/amber/src/amber.cr:5: while requiring "secure_random": can't find file 'secure_random' relative to ...
require "secure_random"
Oh, Thank you for this issue!
I need to update this project, secure_random
was a breaking change in crystal v0.24.1
😅
Yeah, I see. I was able to rebuild the project locally by copying over a couple files into a new amber project. Thanks for the example.