# Ameba error when Amber framework installing depedencies

**URL:** <https://forum.crystal-lang.org/t/ameba-error-when-amber-framework-installing-depedencies/6155>\
**Category:** Help & Support\
**Created:** [November 10, 2023, 3:26am UTC](https://forum.crystal-lang.org/t/ameba-error-when-amber-framework-installing-depedencies/6155 "2023-11-10T03:26:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![novianto\_eko\_budiman](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@novianto\_eko\_budiman](https://forum.crystal-lang.org/u/novianto_eko_budiman)\
**Post date:** [November 10, 2023, 3:26am UTC](https://forum.crystal-lang.org/t/ameba-error-when-amber-framework-installing-depedencies/6155/1 "2023-11-10T03:26:37Z")

</div>

Hi, i’m new to the crystal community, i’m trying to develop website using Amber framework, but when i trying to install it, when the framework trying to install depedencies, it always error, the error said “Failed postinstall of ameba on make bin && make run\_file:”, “Error target ameba failed to compile:”, and the last is “Error: type must be Ameba::Severity, not (Ameba::Severity | Nil)”. When i try to check using command “shards check”, then error message show “Missing shard.lock. Please run ‘shards install’”. I’m using Ubuntu 22.04. Someone please help me.

---

<div class="post-metadata">

**Author:** ![hugopl](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/hugopl/32/970_2.png) [@hugopl](https://forum.crystal-lang.org/u/hugopl)\
**Post date:** [November 10, 2023, 3:13pm UTC](https://forum.crystal-lang.org/t/ameba-error-when-amber-framework-installing-depedencies/6155/2 "2023-11-10T15:13:36Z")

</div>

Try to compile without development dependencies, i.e. `shards install --without-development`

Ameba already fixed this issue in recent versions, but Amber wasn’t updated yet.

So another choice is to create a [shards.override.yml](https://crystal-lang.org/2020/08/06/shards-0.12.0-released/) file and change Ameba version to a recent one with this issue fixed.

File a bug report on Amber project also would be important.

---

<div class="post-metadata">

**Author:** ![novianto\_eko\_budiman](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@novianto\_eko\_budiman](https://forum.crystal-lang.org/u/novianto_eko_budiman)\
**Post date:** [November 11, 2023, 3:16am UTC](https://forum.crystal-lang.org/t/ameba-error-when-amber-framework-installing-depedencies/6155/3 "2023-11-11T03:16:40Z")

</div>

Thank you very much, now it’s work 😀
