Skip to content

Missing Dependency on Windows #3

@chrischtel

Description

@chrischtel

When trying to build on windows it fails because it can't find ameba shard.

PS C:\Users\chris\larimar> shards build
Resolving dependencies
Fetching https://github.com/crystal-lang-tools/crystal-tree-sitter.git
Fetching https://github.com/nobodywasishere/lsprotocol-crystal.git
Fetching https://github.com/spider-gazelle/readers-writer.git
Installing lsprotocol (0.1.0 at 7f36ed0)
Installing tree_sitter (0.1.0 at 1d46ca2)
Installing rwlock (1.0.7)
Building: larimar
Error target larimar failed to compile:
Showing last frame. Use --error-trace for full trace.

In src\larimar.cr:5:1

 5 | require "ameba"
     ^
Error: can't find file 'ameba'

If you're trying to require a shard:
- Did you remember to run `shards install`?
- Did you make sure you're running the compiler in the same directory as your shard.yml?

PS C:\Users\chris\larimar> 

ENV:

PS C:\Users\chris\larimar> crystal env    
CRYSTAL_CACHE_DIR=C:\Users\chris\AppData\Local\crystal\cache
CRYSTAL_EXEC_PATH=C:\Users\chris\scoop\apps\crystal\current
CRYSTAL_PATH=lib;C:\Users\chris\scoop\apps\crystal\current\src
CRYSTAL_VERSION=1.17.1
CRYSTAL_LIBRARY_PATH=C:\Users\chris\scoop\apps\crystal\current\lib
CRYSTAL_OPTS=""
PS C:\Users\chris\larimar>

I would need to manually add crystal-ameba/ameba to be able to build larimar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions