VeryGoodOpenSource / dart_frog

A fast, minimalistic backend framework for Dart 🎯
https://dartfrog.vgv.dev
MIT License
1.87k stars 150 forks source link

fix: dart_frog_cli not working #1555

Closed moshe5745 closed 2 weeks ago

moshe5745 commented 3 weeks ago

Description

Dart frog cli not working after install

Using FVM

Steps To Reproduce

1) dart pub global activate dart_frog_cli 2) dart_frog create dfrog

Error:

~% dart_frog create dfrog
~% /Users/moshe/.pub-cache/bin/dart_frog: line 8: dart: command not found
~% 

Expected Behavior

Work

Additional Context

dart cli working as expected.

~% dart --version
Dart SDK version: 3.5.1 (stable) (Tue Aug 13 21:02:17 2024 +0000) on "macos_arm64"
moshe5745 commented 2 weeks ago

The problem was missing PATH variable for FVM