crystalworld icon indicating copy to clipboard operation
crystalworld copied to clipboard

require "logger"

Open satrioaw opened this issue 4 years ago • 1 comments

I tried to run but showing this error even after shards install

`Showing last frame. Use --error-trace for full trace.

In lib/onyx-http/src/onyx-http/middleware/logger.cr:1:1

1 | require "logger" ^ Error: can't find file 'logger'`

satrioaw avatar Sep 01 '21 08:09 satrioaw

Add this into your shard.yml's dependencies block:

logger:
  github: crystal-lang/logger.cr
  version: ~> 0.1.0

WNemencha avatar Mar 22 '23 00:03 WNemencha