Giter VIP home page Giter VIP logo

Comments (5)

faustinoaq avatar faustinoaq commented on May 27, 2024

Hi @TsumiNa, Do you still have this issue?

from vscode-crystal-lang.

watzon avatar watzon commented on May 27, 2024

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.

dprobinson avatar dprobinson commented on May 27, 2024

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.

watzon avatar watzon commented on May 27, 2024

@faustinoaq seems like this needs to be reopened.

from vscode-crystal-lang.

fabon-f avatar fabon-f commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.