Gurobi fail to precompile

I didn’t call Gurobi for a long time. It used to work find. But today when I did, I got this

INFO: Precompiling module Gurobi.
WARNING: Module Compat with uuid 1366427411356359 is missing from the cache.
This may mean module Compat does not support precompilation but is imported by a module that does.
ERROR: LoadError: Declaring __precompile__(false) is not allowed in files that are being precompiled.
 [1] _require(::Symbol) at ./loading.jl:455
 [2] require(::Symbol) at ./loading.jl:405
 [3] include_from_node1(::String) at ./loading.jl:576
 [4] include(::String) at ./sysimg.jl:14
 [5] anonymous at ./<missing>:2
while loading /Applications/, in expression starting on line 15
ERROR: Failed to precompile Gurobi to /Applications/
 [1] compilecache(::String) at ./loading.jl:710
 [2] _require(::Symbol) at ./loading.jl:463
 [3] require(::Symbol) at ./loading.jl:405
 [4] eval(::Module, ::Any) at ./boot.jl:235
 [5] eval(::Any) at ./boot.jl:234
 [6] macro expansion at /Applications/ [inlined]
 [7] anonymous at ./<missing>:?

Anyone knows how to fix this? Thanks!