Open Junkmer opened 2 days ago
@Junkmer
Looking at the error you are getting, it may be related to your local pub cache and not in the plugin itself. Looks like damaged pub cache, where package versions are missing files in your cache. Try running flutter pub cache repair
to see if it helps or not.
Ok, I will try to run it later and check it. Thank you very much
PS D:\xxxx\FlutterProjects\self-project\test-flutter-project> flutter clean
Deleting build... 8ms
Deleting .dart_tool... 1ms
Deleting Generated.xcconfig... 0ms
Deleting flutter_export_environment.sh... 0ms
Deleting ephemeral... 0ms
Deleting ephemeral... 0ms
Deleting ephemeral... 0ms
Deleting .flutter-plugins-dependencies... 0ms
Deleting .flutter-plugins... 0ms
PS D:\xxxx\FlutterProjects\self-project\test-flutter-project> flutter pub cache repair
Reinstalled 660 packages.
PS D:\xxxx\FlutterProjects\self-project\test-flutter-project> flutter pub get
Resolving dependencies...
Downloading packages...
async 2.11.0 (2.12.0 available)
boolean_selector 2.1.1 (2.1.2 available)
characters 1.3.0 (1.3.1 available)
collection 1.19.0 (1.19.1 available)
fake_async 1.3.1 (1.3.2 available)
flutter_lints 3.0.2 (5.0.0 available)
js 0.6.7 (0.7.1 available)
leak_tracker 10.0.5 (10.0.8 available)
leak_tracker_flutter_testing 3.0.5 (3.0.9 available)
lints 3.0.0 (5.1.0 available)
matcher 0.12.16+1 (0.12.17 available)
material_color_utilities 0.11.1 (0.12.0 available)
meta 1.15.0 (1.16.0 available)
path 1.9.0 (1.9.1 available)
path_provider_android 2.2.10 (2.2.12 available)
stack_trace 1.11.1 (1.12.0 available)
string_scanner 1.3.0 (1.4.0 available)
vm_service 14.2.4 (14.3.1 available)
Got dependencies!
18 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated
for more information.
PS D:\xxxx\FlutterProjects\self-project\test-flutter-project> flutter run -d windows
Launching lib\main.dart on Windows in debug mode...
CMake Error at flutter/generated_plugins.cmake:15 (add_subdirectory):
add_subdirectory given source
"flutter/ephemeral/.plugin_symlinks/tencent_cloud_chat_sdk/windows" which
is not an existing directory.
Call Stack (most recent call first):
CMakeLists.txt:59 (include)
Building Windows application... 4.0s Error: Unable to generate build files
@Junkmer Is it only occuring while trying to add the said third party package or any third party package results in same error ?
That's right. Just add any plugin and you'll get the same error.
I wonder if there is something wrong with my cmake, but I am running the im Android project with the cmake configuration as normal
This problem has been bothering me for a few days, I tried to upgrade the windows system, upgrade the Flutter version, upgrade the cmake version and couldn't solve it
If you have any points that you might suspect, just bring them up, I try as much as I can, I look up similar anomalies online, and there is no solution I want
This is the only one similar to mine, I have tried it, neither Powershell nor cmd will work
Also run vs code, same error
Currently on an unknown channel. Run
flutter channel
to switch to an official channel.
Can you switch to official channel as suggested and try again to check if it still persist ?
Steps to reproduce
Now here's the question
I have downloaded and configured the flutter windows desktop environment, running flutter doctor is also normal, creating a new project after selecting the desktop will also work, but when I add any third party plugins in pubspec.yaml, running the following error, How should I solve this problem, or how to troubleshoot it
Actual results
Logs
Logs
```console ```Flutter Doctor output
Doctor output
```console ```