Comments (5)
Hi @TsumiNa, Do you still have this issue?
from vscode-crystal-lang.
I'm having this issue on Debian with Code 1.35. I'm using asdf version manager to install crystal, but I did try including the absolute path to crystal in the settings and it didn't work
from vscode-crystal-lang.
I'm having the same problem too. VSCode 1.34 with Crystal 0.28.0 (installed from Arch repos at /usr/bin/crystal). I've also tried changing the path in the settings to no avail.
from vscode-crystal-lang.
@faustinoaq seems like this needs to be reopened.
from vscode-crystal-lang.
In my case, executing crystal env
in crystalUtils.ts
(js) caused an error like this.
Error: Command failed: /usr/local/bin/crystal env
Missing ENV key: "HOME" (KeyError)
from Path::home:Path
from Path#expand:Path
from File::expand_path:String
from Crystal::CacheDir#compute_dir:String
from Crystal::Command#run:(Bool | Crystal::Compiler::Result | Nil)
from main
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues
When I add { cwd: ROOT, env: CRENV, stdio: ["ignore", "pipe", "pipe"] }
as second argument of execSync
, the error disappeared.
from vscode-crystal-lang.
Related Issues (20)
- Regex special character escaping is ignored by syntax highlighter
- Support for Crystal syntax in CudaText editor
- Heredoc syntax highlighting is incorrect HOT 2
- Type and method introspection not working HOT 1
- error requiring "prelude" on windows HOT 3
- Color change when adding return type to class method HOT 5
- Auto-formatting issue with some keywords HOT 1
- building for macOS-x86_64 but attempting to link with file built for macOS-arm64 HOT 1
- How to autoformat on save? HOT 1
- Add Crystal Specs to native Testing UI HOT 1
- [Feature] Being able to Ctrl-click a class or method HOT 1
- Error executing Crystal plugin. spawn bash ENOENT in Windows HOT 1
- New release? HOT 20
- Supporting mutiple main files (entry points) for a single project HOT 4
- Hover feature does not work with Windows11 PC and v0.8.4 of the extension (Native Windows Crystal, not WSL) HOT 1
- With compiler path set properly still get error upon opening first .cr file HOT 1
- Dot in comments triggers autocomplete. HOT 3
- Crystalline server crashes if VSCode started with shortcut HOT 6
- Tasks don't support arbitrary files
- Use `spawn` instead of `exec` for formatting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-crystal-lang.