Required
by
:
project :path_provider
> Unable to find a matching configuration of project :path_provider_macos:
- None of the consumable configurations have attributes.
上面是一个依赖错误,意思是依赖的项目里面的属性都为空,通常来说,是新加的支持会产生这种错误,比如新加的web mac支持。
如果我们不需要这些支持的话(大部分都不会需要),解决方法是找到flutter sdk 下面的需要这个依赖的项目,找到pubspec文件,删掉依赖。