Baseflow / Baseflow/flutter_cached_network_image

Error: Error when reading flutter_cache_manager

Open
#913 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.6k
Forks
731
Avg merge
3d 9h
Merged PRs (30d)
1

Description

## 🐛 Bug Report

while debugging my app it's show an error
```
/C:/Users/sayed/AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image-3.3.1/lib/cached_network_image.dart:5:1: Error: Error when reading '/C:/Users/sayed/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_cache_manager-3.3.1/lib/flutter_cache_manager.dart': The system cannot find the file specified.

export 'package:flutter_cache_manager/flutter_cache_manager.dart'
^

```
i checked the transitie dependenccies and i found it and it exists at dart cache path
so i want to add ```flutter_cache_manager: ^3.3.1``` @pubspec.yaml but nothing solve
i tried to upgrade my packages, flutter, reinstall dart sdk, cleaning cache and create new project but it still doesn't work

### Configuration

**Version:** 3.3.1

**Platform:**
- [ ] :iphone: iOS
- [X] :robot: Android

**flutter doctor -v**
```
[√] Flutter (Channel stable, 3.16.5, on Microsoft Windows [Version 10.0.19045.3803], locale en-US)
• Flutter version 3.16.5 on channel stable at C:\Users\sayed\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 78666c8dc5 (3 weeks ago), 2023-12-19 16:14:14 -0800
• Engine revision 3f3e560236
• Dart version 3.2.3
• DevTools version 2.28.4

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
• Android SDK at C:\Users\sayed\AppData\Local\Android\sdk
• Platform android-34, build-tools 33.0.1
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.31)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
• Visual Studio Build Tools 2019 version 16.11.34114.132
• Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2023.1)
• 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 17.0.7+0-b2043.56-10550314)

[√] VS Code (version 1.85.1)
• VS Code at C:\Users\sayed\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.80.0

[√] Connected device (4 available)
• DRA LX2 (mobile) • 5LX9K18817915788 • android-arm64 • Android 8.1.0 (API 27)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.3803]
• Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.131
• Edge (web) • edge • web-javascript • Microsoft Edge 120.0.2210.91

[√] Network resources
• All expected network resources are available.

• No issues found!
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.