[Bug]: New version of nm package
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 70/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- dart, flutter
- 领域
- mobile-dev, tooling
调研方向
该 issue 是 connectivity_plus 7.3.1 要求 nm ^0.5.0 与用户想要使用 nm 0.6.0 之间的依赖冲突。查看 connectivity_plus 插件的 pubspec.yaml 文件以了解其依赖声明。检查是否有支持 nm 0.6.0 的更新版本的 connectivity_plus,或者考虑更新插件 pubspec.yaml 中的依赖约束。进行任何更改后运行 flutter pub get 以验证解析结果。当示例项目在没有版本解决错误的情况下成功构建时,即达到 'done' 状态。
由索引模型根据 Issue 内容生成。
描述
Platform
macos and all platforms
Plugin
connectivity_plus
Version
latest
Flutter SDK
3.47.5
Steps to reproduce
add nm: 0.6.0 to pubspec
Code Sample
Logs
Because connectivity_plus 7.3.1 depends on nm ^0.5.0 and no versions of connectivity_plus match >7.3.1 <8.0.0, connectivity_plus ^7.3.1 requires nm ^0.5.0.
So, because b depends on both connectivity_plus ^7.3.1 and nm 0.6.0, version solving failed.
Failed to update packages.
Flutter Doctor
[✓] Flutter (Channel stable, 3.47.5, on macOS 27.0 26A428 darwin-arm64, locale
ru-RU) [636ms]
• Flutter version 3.47.5 on channel stable at
/Users/carapacik/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 6a19cca564 (7 дней назад), 2026-09-17 14:13:22 -0400
• Engine revision af7e796e16
• Dart version 3.13.4
• DevTools version 2.60.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop,
enable-windows-desktop, enable-android, enable-ios, cli-animations,
enable-native-assets, enable-record-use, enable-swift-package-manager,
omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration
[✓] Android toolchain - develop for Android devices (Android SDK version 37.0.0)
[1 424ms]
• Android SDK at /Users/carapacik/Library/Android/sdk
• Emulator version 37.1.11.0 (build_id 15917651) (CL:N/A)
• Platform android-37.0, build-tools 37.0.0
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on
this machine.
To manually set the JDK path, use: `flutter config
--jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 25.0.3+-15898627-b508.16)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 27.0) [1 472ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 27A266a
• CocoaPods version 1.17.0
[✓] Chrome - develop for the web [7ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Connected device (2 available) [11,5s]
• macOS (desktop) • macos • darwin-arm64 • macOS 27.0 26A428 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 153.0.8010.54
[✓] Network resources [372ms]
• All expected network resources are available.
• No issues found!
Checklist before submitting a bug
- I searched issues in this repository and couldn't find such bug/problem
- I Google'd a solution and I couldn't find it
- I searched on StackOverflow for a solution and I couldn't find it
- I read the README.md file of the plugin
- I'm using the latest version of the plugin
- All dependencies are up to date with
flutter pub upgrade - I did a
flutter clean - I tried running the example project
- 主要语言
- Dart
- 星标
- 1.9k
- 派生
- 1.3k
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fluttercommunity/plus_plugins 的其他 Issue
-
bug triage
难度 1/5 1 小时以内 新手友好度 88/100
fluttercommunity/plus_plugins#3964 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
fluttercommunity/plus_plugins#3943 ·
-
enhancement triage
难度 4/5 3-5 天 新手友好度 55/100
fluttercommunity/plus_plugins#3976 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
fluttercommunity/plus_plugins#3974 ·
-
enhancement triage
难度 5/5 一周以上 新手友好度 48/100
fluttercommunity/plus_plugins#3973 ·
查看 fluttercommunity/plus_plugins 的全部 Issue
相似的 Issue
-
status: needs-triage
难度 2/5 1-3 小时 新手友好度 90/100
a2ui-project/a2ui#2782 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
MaikuB/flutter_local_notifications#2832 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
from.page-issue
难度 1/5 1 小时以内 新手友好度 85/100
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
swciitg/onestop_flutter#563 ·