Open riekusr opened 3 years ago
I have got this running now, I had to place the enviroment variable of the SDK above the flutter one
You should know that you added the SDK wrong. You know, do it manually. Go to the folder where the dart SDK (2.12) is located and delete it . And now put version 2.8 instead .
I have got this running now, I had to place the enviroment variable of the SDK above the flutter one
Nice
You should know that you added the SDK wrong. You know, do it manually. Go to the folder where the dart SDK (2.12) is located and delete it . And now put version 2.8 instead .
But it is running insde the flutter folder, and flutter needs the recent SDK.
I got aqueduct up and running and can continue with my project. My question is, can anyone tell me if I can also get this running with the latest SDK? The above errors apply when I try that setup.
edit: Running in the same problem why I initially had to reinstall everyting: https://stackoverflow.com/questions/65755371/localappdata-folder-corrupting-my-dart-and-flutter-projects
I managed to install aqueduct a couple of weeks ago, had to do some work arounds but it was all working (aqueduct serve, aqueduct db generate).
Then I ran into a weird problem, and reinstalled flutter and dart sdk. Offcourse aqueduct stopped in its tracks. So i am trying to get my backend working again. I think I had a seperate dart running and currently dar is installed with flutter.
dart version:
Dart SDK version: 2.12.0-133.7.beta (beta) (Tue Jan 12 09:25:38 2021 +0100) on "windows_x64"
I tried cloning aqueduct repo locally and
pub global activate --source
and this is in my pubspec.yamlthen pub run aqueduct serve:
I assume it has to do with the dart SDK being on the latest and running in sound null safety,
So I downloaded dart2.8.4 SDK and updated the path variable. but dart --version still shows 2.12.
Can someone describe (for a newbie) how I can work around this? Preferably using latest dart for my flutter project and then downgrade it for aqueduct project?