تابستون داره تموم میشه ها، فرصت‌ها محدودن کلی آفر جذاب در کمپین تابستون🔥👇
۰ ثانیه
۰ دقیقه
۰ ساعت
۲ Saed Fathi
پیغام خطا در هنگام اجرای fluttergen
جامعه فلاتر ایجاد شده در ۰۷ آذر ۱۴۰۰
<p><span style=\"color: rgb(86, 156, 214);\">flutter_gen</span><span style=\"color: rgb(212, 212, 212);\">:</span></p><p><span style=\"color: rgb(212, 212, 212);\">  </span><span style=\"color: rgb(86, 156, 214);\">integrations</span><span style=\"color: rgb(212, 212, 212);\">:</span></p><p><span style=\"color: rgb(212, 212, 212);\">    </span><span style=\"color: rgb(86, 156, 214);\">flutter_svg</span><span style=\"color: rgb(212, 212, 212);\">: </span><span style=\"color: rgb(86, 156, 214);\">true</span></p><p>بعد از اضافه کردن این ملزومات پروژه به فایل pubspec و اجرای دستور fluttergen با این پیغام مواجه میشم</p><p>fluttergen : The term \'fluttergen\' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if </p><p>a path was included, verify that the path is correct and try again.</p><p>At line:1 char:1</p><p>+ fluttergen</p><p>+ ~~~~~~~~~~</p><p>  + CategoryInfo     : ObjectNotFound: (fluttergen:String) [], CommandNotFoundException</p><p>  + FullyQualifiedErrorId : CommandNotFoundException</p>

این دستور رو به جاش اجرا کن:

flutter packages pub run build_runner build


بهترین پاسخ
سعید شاهینی ۰۸ آذر ۱۴۰۰، ۰۹:۱۱
<p>ممنون استاد فقط این رو به جای دستور fluttergen استفاده کنیم از این به بعد؟</p>
Saed Fathi ۰۸ آذر ۱۴۰۰، ۰۹:۱۴