I want to add new language in coderunner app [MacOS]. which just works like DartPad. I installed flutter sdk. but I got this error message when I tried to compile the code after selecting the dart language which I added by Preferences/Languages/Add new language (+ symbol) :
/bin/sh: dart: command not found
CodeRunner/Preferences/Languages
.+
button at the end of the languages to add another language.Dart
.dart $filename
..dart
.Dart
.If you get any error, try this before executing above commands :
If you get any error like :
Error: Your Command Line Tools are too outdated.
then try this : Update them from Software Update in System Preferences or run:
If that doesn't show you any updates, run:
Dart setup successfully :)