crystal-lang-tools / vscode-crystal-lang

Yet another VSCode extension for Crystal Programming Language
https://marketplace.visualstudio.com/items?itemName=crystal-lang-tools.crystal-lang
MIT License
277 stars 58 forks source link

error requiring "prelude" on windows #153

Closed HOMODELUNA closed 8 months ago

HOMODELUNA commented 2 years ago

error requiring "prelude" on windows

It goes out every time in a crystal file, blocking sequencial analysis

can't find file 'prelude'

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?

Here is my version and environment

PS C:\Users\homodeluna\Desktop> crystal env
CRYSTAL_CACHE_DIR=C:\Users\homodeluna\AppData\Local\crystal\cache
CRYSTAL_PATH=E:\lang\Crystal\src
CRYSTAL_VERSION=1.5.0
CRYSTAL_LIBRARY_PATH=E:\lang\Crystal\lib
CRYSTAL_OPTS=""

PS C:\Users\homodeluna\Desktop> crystal version
Crystal 1.5.0 [994c70b10] (2022-07-06)

LLVM: 13.0.0
Default target: x86_64-pc-windows-msvc

Screenshot error s

nobodywasishere commented 1 year ago

A few questions:

HOMODELUNA commented 1 year ago

@nobodywasishere

nobodywasishere commented 8 months ago

Can you let me know if this still occurs on v0.9.0?