出现这种情况 删除 .dart_tool 再试试看?

Could not find a file named "pubspec.yaml" in "".
pub finished with exit code 66