I need to get copy or duplicate dart project from my friend, But when I get that and open existing folder and select that duplicate file. I am unable to run pub get, I got following error as
How can I copy a dart project from one system to another system, very strange problem. I run pub get more than 10 times.
You obviously have a permissions problem. There is nothing special about copying a Dart project. The
packages directory and all
packages symlinks in directories like
tool, should not be copied. If your copy includes these directories, just delete them and run
pub get or
pub upgrade again.
Answered By – Günter Zöchbauer
Answer Checked By – Candace Johnson (FlutterFixes Volunteer)