Skip to content

Cant build amber app #1032

Description

@Iainmon

Description

I can't build a brand new amber app.

Steps to Reproduce

I just followed this guide:
https://docs.amberframework.org/amber/getting-started

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce?]

Versions

Amber CLI (amberframework.org) - v0.11.2

Crystal 0.27.0 (2018-11-04)

LLVM: 6.0.1
Default target: x86_64-apple-macosx

Additional Information

09:13:54 Watch run  | (INFO) Building...
Error in src/blogsy.cr:1: while requiring "../config/*"

require "../config/*"
^

in config/application.cr:1: while requiring "./database.cr"

require "./database.cr"
^

in config/database.cr:5: undefined method 'progname=' for Nil (compile-time type is (Logger | Nil))

Granite.settings.logger.progname = "Granite"
                        ^~~~~~~~

Rerun with --error-trace to show a complete error trace.
09:13:55 Watch run  | (INFO) Compile time errors detected, exiting...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions