We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can not compile a lockal compile
root@DESKTOP-RRP2TLA:/home/hts/antennas/antennas# crystal build ./src/antennas.cr Error in src/antennas.cr:132: instantiating 'Kemal:Module#run(Int32)'
Kemal.run(5004) ^~~
in lib/kemal/src/kemal.cr:12: instantiating 'Kemal:Module#run(Int32)'
self.run port do ^~~
in lib/kemal/src/kemal.cr:55: instantiating 'send_file(HTTP::Server::Context, String)'
send_file env, file_path ^~~~~~~~~
in lib/kemal/src/kemal/helpers/helpers.cr:109: instantiating 'File:Class#open(String)'
File.open(file_path) do |file| ^~~~
in lib/kemal/src/kemal/helpers/helpers.cr:120: 'Flate::Writer.new' is not expected to be invoked with a block, but a block was given
Flate::Writer.new(env.response) do |deflate| ^~~
root@DESKTOP-RRP2TLA:/home/hts/antennas/antennas#
The text was updated successfully, but these errors were encountered:
Try running shards install, and if that doesn't work, shards update and then shards install
shards install
shards update
Sorry, something went wrong.
no success. please check
Successfully merging a pull request may close this issue.
I can not compile a lockal compile
root@DESKTOP-RRP2TLA:/home/hts/antennas/antennas# crystal build ./src/antennas.cr
Error in src/antennas.cr:132: instantiating 'Kemal:Module#run(Int32)'
Kemal.run(5004)
^~~
in lib/kemal/src/kemal.cr:12: instantiating 'Kemal:Module#run(Int32)'
in lib/kemal/src/kemal.cr:55: instantiating 'send_file(HTTP::Server::Context, String)'
in lib/kemal/src/kemal/helpers/helpers.cr:109: instantiating 'File:Class#open(String)'
File.open(file_path) do |file|
^~~~
in lib/kemal/src/kemal/helpers/helpers.cr:109: instantiating 'File:Class#open(String)'
File.open(file_path) do |file|
^~~~
in lib/kemal/src/kemal/helpers/helpers.cr:120: 'Flate::Writer.new' is not expected to be invoked with a block, but a block was given
root@DESKTOP-RRP2TLA:/home/hts/antennas/antennas#
The text was updated successfully, but these errors were encountered: