no versions of audio_service_web match 0.1.1 and no versions of audio_service_web match
Minimal reproduction project
Official example: main.dart
Build command
flutter pub get
Build error
Because no versions of audio_service_web match 0.1.1 and no versions of audio_service_web match >0.1.1 <0.2.0, audio_service_web ^0.1.1 is forbidden.
So, because melody depends on audio_service ^0.18.3 which depends on audio_service_web ^0.1.1, version solving failed.
pub get failed (1; So, because melody depends on audio_service ^0.18.3 which depends on audio_service_web ^0.1.1, version solving failed.)
exit code 1
Output of flutter doctor
[√] Flutter (Channel master, 2.10.0-1.0.pre.354, on Microsoft Windows [Version 10.0.22000.434], locale en-IN)
• Flutter version 2.10.0-1.0.pre.354 at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 66f95cacbb (2 hours ago), 2022-02-01 04:35:22 -0500
• Engine revision d653a9e2dd
• Dart version 2.17.0 (build 2.17.0-69.0.dev)
• DevTools version 2.10.0-dev.1
[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at C:\Users\mi493\AppData\Local\Android\sdk
• Platform android-32, build-tools 32.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.5)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.0.32112.339
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2020.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[√] VS Code (version 1.63.2)
• VS Code at C:\Users\mi493\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.32.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22000.434]
• Chrome (web) • chrome • web-javascript • Google Chrome 97.0.4692.99
• Edge (web) • edge • web-javascript • Microsoft Edge 97.0.1072.76
[√] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
Not sure how this could happen, since 0.1.1 of the web version has been published since long ago:
https://pub.dev/packages/audio_service_web
Maybe it is something to do with running Flutter from the master channel. Does it still happen on Flutter stable?
yeah when i switch master to stable it's still happening
after wasting few hours i decide 😔 to reinstall flutter. and it's working with default stable channel without switching flutter channel. 😑 but I still don't know why it's not running on master channel.
After you re-installed, did you try switching to the master channel? Or is your master channel testing only from before you reinstalled? I don't support the master channel anyway, but I was just curious.
Closing as unresponsive.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with audio_service.