obsidian-execute-code icon indicating copy to clipboard operation
obsidian-execute-code copied to clipboard

Problems with functioning for Dart.

Open ArthurValadares opened this issue 2 years ago • 1 comments

First of all, I would like to start by thanking the contributors for their work, this extension is very useful.

Depending on your availability, I would like to point out that, at least in my virtual environment, I could not implement Dart functionality. I'm using a Linux based Ubuntu, Zorin 16 Core. According to the guidelines, I made the following command in the terminal: "which dart", the following path was returned: /usr/bin/dart. When I set this path to the extension and then run the code, I get the following error: "/bin/sh: line 1: /usr/bin/dart: No such file or directory". However, when I try to open this file in the terminal it works as it should.

I already uninstalled and installed dart. I'm in version: Dart SDK version: 3.0.6 (stable) (None) on "linux_x64"

If I'm doing something wrong, please let me know, and I'm sorry for opening a question about something frivolous.

ArthurValadares avatar Jul 21 '23 01:07 ArthurValadares

You should use the full path of dart: For example:E:/SDK/Dart_Stable_3.4.1/bin/dart.exe @ArthurValada

KunMengcode avatar Jul 28 '24 12:07 KunMengcode