<a href="https://github.com/mkustermann"><img src="https://avatars.githubusercontent.com/u/5757092?v=3" align="left" width="96" height="96"hspace="10"></img></a> **Issue by [mkustermann](https://github.com/mkustermann)** _Originally opened as dart-lang/sdk#21904_ --- Reproduction on my machine: $ pub global activate -sgit https://github.com/dart-lang/dart_style $ dartformat Wrong script snapshot version, expected 'f6711525cff9f7d0d08595166664b767' found '74629058babcf012a75ec8e5b364e464' Pub should make sure to invalidate script snapshots and re-generate them (on demand) when the dart binary changed.