Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Bug]: New version of nm package

未关闭 适合新手
#3,979 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
70/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
dart, flutter

调研方向

该 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 内容生成。

描述

bug triage
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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fluttercommunity/plus_plugins 的其他 Issue

查看 fluttercommunity/plus_plugins 的全部 Issue

相似的 Issue

更多 Dart Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。