我正在尝试编译https://github.com/dart-lang/protobuf/tree/master/protoc_plugin
根据ReadMe,我应该只运行pub install。我有一个颤振SDK,应该包括Dart SDK。
我试过:
flutter pub install
Could not find a subcommand named "install" for "flutter pub".和
dart pub install
Error: Error when reading 'pub': No such file or directory和
pub install
/bin/sh: 1: pub: not found如何使用颤振SDK编译它?
发布于 2022-01-05 21:38:10
这很奇怪,但是试试flutter pub pub install
但是install和get是一样的。不知道为什么那些文档说要使用install。
https://stackoverflow.com/questions/63760397
复制相似问题