BirjuVachhani / spider

A small dart library to generate Assets dart code from assets folder.
https://spider.birju.dev/
Apache License 2.0
190 stars 19 forks source link

Can't update to latest spider version on Windows machine #44

Closed zolkiBy closed 2 years ago

zolkiBy commented 2 years ago

I tried to install spider using command pub global activate spider , but pub loads not latest version - 1.0.1 (current 2.2.1) System Windows 11x64 21H2

BirjuVachhani commented 2 years ago

That's strange. Can you try clearing pub cache from .pubcache ?

zolkiBy commented 2 years ago

I can see notes that a new version is available but when running the command pub global activate spider I received a log that version 1.0.1 was activated (after clearing pub cache) image image

BirjuVachhani commented 2 years ago

Have you added spider as a dependency in your project? You're not supposed to do that. Can you share your pubspec.yaml file? also, try running pub global activate spider command in your user home directory, not in you project directory.

BirjuVachhani commented 2 years ago

Closing this because of inactivity.