Skip to content

Can not resolve the package cached_network_image #2059

@4Mi

Description

@4Mi

pubspec.yaml
dependencies:
flutter:
sdk: flutter

The following adds the Cupertino Icons font to your application.

Use with the CupertinoIcons class for iOS style icons.

cupertino_icons: ^0.1.2
cached_network_image: ^0.6.0

Error:

HTTP error 424: Failed Dependency

package:pub/src/http.dart 218:5 _ThrowingClient.send

===== asynchronous gap ===========================

package:http_throttle/http_throttle.dart 33:31 ThrottleClient.send

===== asynchronous gap ===========================

package:pub/src/source/hosted.dart 301:37 BoundHostedSource._download

===== asynchronous gap ===========================

package:pub/src/source/hosted.dart 196:13 BoundHostedSource.downloadToSystemCache

===== asynchronous gap ===========================

package:pub/src/entrypoint.dart 371:48 Entrypoint._get.

===== asynchronous gap ===========================
dart:async runZoned
package:pub/src/http.dart 272:10 withDependencyType
package:pub/src/entrypoint.dart 367:12 Entrypoint._get
dart:async Future.wait
package:pub/src/entrypoint.dart 228:18 Entrypoint.acquireDependencies
dart:async _completeOnAsyncReturn
package:pub/src/solver/version_solver.dart VersionSolver.solve
dart:async _completeOnAsyncReturn
package:pub/src/solver/version_solver.dart VersionSolver._result
This is an unexpected error. Please run

pub --trace --verbosity=warning upgrade --no-precompile

and include the logs in an issue on https://github.com/dart-lang/pub/issues/new

pub upgrade failed (69) -- attempting retry 1 in 1 second...

HTTP error 424: Failed Dependency

package:pub/src/http.dart 218:5 _ThrowingClient.send
===== asynchronous gap ===========================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions