0

在 pubspec.yaml 中添加 objectbox_generator

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_lints: ^1.0.0
  build_runner: ^2.1.4
  objectbox_generator: any

给出这个错误

Cannot create link, path = 'D:\google\flutter\pub\cache\_temp\dirfb7ac440\integration-tests\basics\pubspec.yaml' (OS Error: A required privilege is not held by the client.
, errno = 1314)
4

1 回答 1

1

在 Windows 中打开项目File Explorer并单击File左上角,然后单击展开更多或箭头,然后在该运行中Open Windows Powershell选择现在Open Windows Powershell as administratorflutter pub get

于 2021-10-16T14:32:22.460 回答