Open Big-Mande opened 1 year ago
similar situation, I downgraded the dart to 2.19 so make-get works but then make doesn't work. Were you able to fix it? Edit: figured out that on dart 2.19.6-1 the make get and make clox seems to work.
similar situation, I downgraded the dart to 2.19 so make-get works but then make doesn't work. Were you able to fix it? Edit: figured out that on dart 2.19.6-1 the make get and make clox seems to work.
How did you do that exactly? I'm not from ecosystem and can't seem to figure this out.
Okay, I just followed the errors and updated them by hand (thought there must be a command for this) this is updated one, but not sure if it breaks anything -
name: tool
publish_to: none
environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
args: ^2.0.0
charcode: ^1.1.3
glob: ^2.0.0
image: ^3.0.1
markdown: ^4.0.0
mime_type: ^1.0.0
mustache_template: ^2.0.0
path: ^1.7.0
pool: ^1.4.0
sass: ^1.26.5
shelf: ^1.0.0
string_scanner: ^1.0.5
installing dart v2.19.6 works for me
Installing dart v2.19.6 also worked for me in the following way:
brew reinstall dart@2.19
(I had already installed 3.5 so had to uninstall that as modifying the links didn't work for me)
then
echo 'export PATH="/opt/homebrew/opt/dart@2.19/bin:$PATH"' >> /Users/Jeremy/.zshrc
per the recommendation of brew
itself
source ~/.zshrc
and I was good to go
I was able to use the make get command but running the make command give me these errors: tool/lib/src/book.dart:118:56: Error: The method 'listSync' isn't defined for the class 'Glob'.