Pkg precompilation failing (0.7alpha)

if ]precompile fails (in the manner below), what is the best way to fix this?

 pkg> precompile
Precompiling project...
Precompiling CSV [1 of 10]
#tons of deprecation warnings...

┌ Warning: Module `CSV` declares `__precompile__(true)` but `require` failed
│ to create a usable precompiled cache file
│   exception = Required dependency SortingAlgorithms [a2af1166-a08f-5f64-846c-94a0d3cef48c] failed to load from a cache file.
└ @ Base loading.jl:1010
ERROR: Module CSV declares __precompile__(true) but require failed to create a usable precompiled cache file.
Stacktrace:
 [1] error at .\error.jl:33 [inlined]
 [2] _require(::Base.PkgId) at .\loading.jl:1013
 [3] require(::Base.PkgId) at .\loading.jl:878
 [4] require(::Module, ::Symbol) at .\loading.jl:873
Precompiling DataStreams [2 of 10]

Ok.
It seems rm CSV (then commit) and then add CSV actually did the trick here.