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

Invalid kernel binary format version #31

Closed CripyIce closed 4 years ago

CripyIce commented 4 years ago

I wanted to check if there's an update to spider but suddenly got a weird error: image

Flutter doctor: image

Any suggestions?

BirjuVachhani commented 4 years ago

@CripyIce Could you please provide me information about which spider version do you have currently installed on your system?

CripyIce commented 4 years ago

@BirjuVachhani after running pub global activate spider it showed me the following:

Package spider is currently active at version 1.0.0.
Resolving dependencies... (2.2s)
+ _fe_analyzer_shared 7.0.0 (8.0.0 available)
+ analyzer 0.39.17 (0.40.0 available)
+ args 1.6.0
+ async 2.4.2 (2.5.0-nullsafety available)
+ charcode 1.1.3 (1.2.0-nullsafety available)
+ cli_util 0.2.0
+ collection 1.14.13 (1.15.0-nullsafety.2 available)
+ convert 2.1.1
+ crypto 2.1.5
+ csslib 0.16.2
+ dart_style 1.3.6
+ glob 1.2.0
+ html 0.14.0+3
+ http 0.12.2
+ http_parser 3.1.4
+ js 0.6.2 (0.6.3-nullsafety available)
+ logging 0.11.4
+ meta 1.2.2 (1.3.0-nullsafety.2 available)
+ node_interop 1.1.1
+ node_io 1.1.1
+ package_config 1.9.3
+ path 1.7.0 (1.8.0-nullsafety available)
+ pedantic 1.9.2 (1.10.0-nullsafety available)
+ pub_semver 1.4.4
+ source_span 1.7.0 (1.8.0-nullsafety available)
+ spider 1.0.1
+ string_scanner 1.0.5 (1.1.0-nullsafety available)
+ term_glyph 1.1.0 (1.2.0-nullsafety available)
+ typed_data 1.2.0 (1.3.0-nullsafety.2 available)
+ watcher 0.9.7+15
+ yaml 2.2.1
Downloading spider 1.0.1...
Downloading http 0.12.2...
Downloading pedantic 1.9.2...
Downloading meta 1.2.2...
Downloading analyzer 0.39.17...
Downloading _fe_analyzer_shared 7.0.0...
Downloading cli_util 0.2.0...
Downloading js 0.6.2...
Downloading typed_data 1.2.0...
Downloading crypto 2.1.5...
Downloading async 2.4.2...
Downloading collection 1.14.13...
Downloading csslib 0.16.2...
Precompiling executables... (9.7s)
Precompiled spider:main.
Installed executable spider.
Activated spider 1.0.1.

And after that I ran spider --info and it worked. Strange 🤨

BirjuVachhani commented 4 years ago

@CripyIce pub global activate spider command updates existing version to the latest one. Maybe that solved the issue. It is strange to be as well. But I am hoping now it is working for you so I'm closing this. Feel free to reopen or create new issue if you face any!

Thanks for using Spider. 😄