GithubHelp home page GithubHelp logo

Comments (7)

golddydev avatar golddydev commented on September 7, 2024 1

Is there any progress in this issue? I'm using a mac and encountered the same problem.

I think this is caused by reading $PATH from process.env in the extension.

I installed aiken in ~/.aiken/bin folder, but $PATH variables read by the extension was always "/usr/bin:/bin:/usr/sbin:/sbin", I can not mv aiken into these folders(mac's restrictions), and didn't find a way to modify $PATH variables for vscode progress.

Well, you can open vscode using terminal.
In your project directory.

code .

This will fix the issue.
I think it is related to VScode.

from vscode-aiken.

rvcas avatar rvcas commented on September 7, 2024

which operating system are you on?

from vscode-aiken.

golddydev avatar golddydev commented on September 7, 2024

I am on ubuntu 22.04

from vscode-aiken.

rvcas avatar rvcas commented on September 7, 2024

On Linux people have had issues with VSCode not having aiken in it's path

from vscode-aiken.

golddydev avatar golddydev commented on September 7, 2024

On Linux people have had issues with VSCode not having aiken in it's path

So you mean, it is not with aiken extension but the fault is with the linux vs code.
Right?
Then how to fix this?

from vscode-aiken.

cauu avatar cauu commented on September 7, 2024

Is there any progress in this issue? I'm using a mac and encountered the same problem.

I think this is caused by reading $PATH from process.env in the extension.

I installed aiken in ~/.aiken/bin folder, but $PATH variables read by the extension was always "/usr/bin:/bin:/usr/sbin:/sbin", I can not mv aiken into these folders(mac's restrictions), and didn't find a way to modify $PATH variables for vscode progress.

from vscode-aiken.

cauu avatar cauu commented on September 7, 2024

Is there any progress in this issue? I'm using a mac and encountered the same problem.
I think this is caused by reading $PATH from process.env in the extension.
I installed aiken in ~/.aiken/bin folder, but $PATH variables read by the extension was always "/usr/bin:/bin:/usr/sbin:/sbin", I can not mv aiken into these folders(mac's restrictions), and didn't find a way to modify $PATH variables for vscode progress.

Well, you can open vscode using terminal. In your project directory.

code .
This will fix the issue. I think it is related to VScode.

Thanks, it works!

It seems the environment variables are different between starting from cli and gui, I think a better solution would be allowing user manually setting path to aiken binary file in the extension's configuration @rvcas

from vscode-aiken.

Related Issues (5)

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.