Flutter:'package get' 尚未运行;'Pub get' 尚未运行 [英] Flutter: 'package get' has not been run; 'Pub get' has not been run
问题描述
我从 git 下载了
Dart 类似于 node.它有一个 pubspec.yaml
,相当于 package.json
包含你的依赖和东西.
并且您需要使用 pub get
下载这些依赖项.或者在flutter的情况下,使用flutter包获取
.
此警告只是提醒您未下载依赖项
=>点击第一个警告的Get Dependencies
I dowloaded a Flutter sample code for Catalog from git, which showing me a warning,
'package get' has not been run
'Pub get' has not been run
What does it mean? How to solve it? Should I ignore this warnings or Update dependencies as suggested with links in warning?
Dart is similar to node.
It has a pubspec.yaml
which is the equivalent of package.json
containing your dependencies and stuff.
And you need to download these dependencies, using pub get
. Or on the case of flutter, using flutter packages get
.
This warning is just here to reminds you that your dependencies aren't downloaded
=> Click on Get Dependencies
of the first warning
这篇关于Flutter:'package get' 尚未运行;'Pub get' 尚未运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!