-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Closed
Description
I have a problem with upgrading packages. This problem occurred after cloning a repo and running flutter packages upgrade in the project.
[flutter_architecture_samples] flutter packages get
Building flutter tool...
Running pub upgrade...
Error on line 1, column 1 of pubspec.lock: Unexpected character.
╷
1 │
│ ^
╵
Error (65): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)
Running pub upgrade...
Error on line 1, column 1 of pubspec.lock: Unexpected character.
╷
1 │
│ ^
╵
Error (65): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (8 tries left)
Running pub upgrade...
Error on line 1, column 1 of pubspec.lock: Unexpected character.
╷
1 │
│ ^
╵
Error (65): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (7 tries left)
Running pub upgrade...
Error on line 1, column 1 of pubspec.lock: Unexpected character.
╷
1 │
│ ^
╵
Error (65): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (6 tries left)
Running pub upgrade...
Error on line 1, column 1 of pubspec.lock: Unexpected character.
╷
1 │
│ ^
╵
here is all errors. and after this, I wasn't able to run flutter doctor or flutter upgrade
I'm in channel master and latest version of flutter.
Metadata
Metadata
Assignees
Labels
No labels