سلام دوستان
من چند وقت پیش فلاتر رو شروع کرده بودم به آموزش و الان بعد چند وقت اومدم دوباره شروعش کنم اما موقعی که دستور flutter doctor رو میزنم این ارور رو بهم میده کسی میدونه مشکل کجاست؟
The term 'Unblock-File' is not recognized as the name of a cmdlet, function, sc
ript file, or operable program. Check the spelling of the name, or if a path wa
s included, verify that the path is correct and try again.
At line:۱ char:۱۳
+ Unblock-File <<<< -Path 'C:\src\flutter/bin/internal/update_dart_sdk.ps۱'; &
'C:\src\flutter/bin/internal/update_dart_sdk.ps۱'
+ CategoryInfo : ObjectNotFound: (Unblock-File:String) [], Comman
dNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
@Alimotreb
@ali.bayat
@hesammousavi
@khanzadimahdi
@milad
@ali.farmani
شاید پاسخ شما همینجا باشد
@Alimotreb
بله چک کردم همه ی آدرس هایی که در environment variables گذاشتم دارای \ هستش و مشکلی نداره بذارید متن کل ارور رو بذارم
The term 'Unblock-File' is not recognized as the name of a cmdlet, function, sc
ript file, or operable program. Check the spelling of the name, or if a path wa
s included, verify that the path is correct and try again.
At line:1 char:13
+ Unblock-File <<<< -Path 'C:\src\flutter/bin/internal/update_dart_sdk.ps1'; &
'C:\src\flutter/bin/internal/update_dart_sdk.ps1'
+ CategoryInfo : ObjectNotFound: (Unblock-File:String) [], Comman
dNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Flutter requires PowerShell 5.0 or newer.
See https://flutter.dev/docs/get-started/install/windows for more.
Building flutter tool...
Running pub upgrade...
The current Dart SDK version is 2.1.0-dev.5.0.flutter-a2eb050044.
Because flutter_tools requires SDK version >=2.2.2 <3.0.0, version solving
failed.
Error (1): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9
tries left)
این متن کل ارور هستش ببینید چیزی متوجه میشید؟
دوستان این آدرس هست گیتهاب رو ببینید چیزی ازش میفهمید که اررو من رو حل کنه ؟
https://github.com/flutter/flutter/issues/30657
و این آدرس
https://github.com/flutter/flutter/issues/22802
این هم متن ارور
The term 'Unblock-File' is not recognized as the name of a cmdlet, function, sc
ript file, or operable program. Check the spelling of the name, or if a path wa
s included, verify that the path is correct and try again.
At line:1 char:13
+ Unblock-File <<<< -Path 'C:\src\flutter/bin/internal/update_dart_sdk.ps1'; &
'C:\src\flutter/bin/internal/update_dart_sdk.ps1'
+ CategoryInfo : ObjectNotFound: (Unblock-File:String) [], Comman
dNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Flutter requires PowerShell 5.0 or newer.
See https://flutter.dev/docs/get-started/install/windows for more.
Building flutter tool...
Running pub upgrade...
The current Dart SDK version is 2.1.0-dev.5.0.flutter-a2eb050044.
Because flutter_tools requires SDK version >=2.2.2 <3.0.0, version solving
failed.
Error (1): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9
tries left)
فکر میکنم ادرس هایی که گذاشتم مشکلم رو حل میکنه ولی خودم که دیدم چیزی نفهمیدم خیلی میخواستم کسانی که تو فلاتر متخصص ترن یا کلا واردن ببین اینا رو