Unable to run files with JuMP

Have Julia 1.0.3 and latest version of JuMP. Using Juno workflow, and believe that I have installed everything correctly; however, when running any file that uses JuMP, I get the following errors, and do not know how to resolve the issues. Have tried removing and re-installing JuMP a number of times to no avail. Any help is appreciated.

The return code when running a test file using JuMP is shown below:

[ Info: Precompiling JuMP [4076af6c-e467-56ae-b986-b466b2749572]
ERROR: LoadError: Failed to precompile ReverseDiffSparse [89212889-6d3f-5f97-b412-7825138f6c9c] to C:\Users\Alex.julia\compiled\v1.0\ReverseDiffSparse\VqGhr.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1203
[3] _require(::Base.PkgId) at .\loading.jl:960
[4] require(::Base.PkgId) at .\loading.jl:858
[5] require(::Module, ::Symbol) at .\loading.jl:853
[6] include at .\boot.jl:317 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1044
[8] include(::Module, ::String) at .\sysimg.jl:29
[9] top-level scope at none:2
[10] eval at .\boot.jl:319 [inlined]
[11] eval(::Expr) at .\client.jl:393
[12] top-level scope at .\none:3
in expression starting at C:\Users\Alex.julia\packages\JuMP\PbnIJ\src\JuMP.jl:18
ERROR: Failed to precompile JuMP [4076af6c-e467-56ae-b986-b466b2749572] to C:\Users\Alex.julia\compiled\v1.0\JuMP\DmXqY.ji.
Stacktrace:
[1] compilecache(::Base.PkgId, ::String) at .\loading.jl:1203
[2] _require(::Base.PkgId) at .\loading.jl:960
[3] require(::Base.PkgId) at .\loading.jl:858
[4] require(::Module, ::Symbol) at .\loading.jl:853

What is the output of

] status

It doesn’t look like things installed properly.

Try

] rm JuMP
] add JuMP

Are there any errors? What is the output?

(v1.0) pkg> status
    Status `C:\Users\Alex\.julia\environments\v1.0\Project.toml`
  [7c4d4715] AmplNLWriter v0.4.2
  [c52e3926] Atom v0.7.14
  [e2554f3b] Clp v0.6.1
  [4076af6c] JuMP v0.18.5
  [e5e0dc1b] Juno v0.5.4

(v1.0) pkg> rm JuMP
  Updating `C:\Users\Alex\.julia\environments\v1.0\Project.toml`
  [4076af6c] - JuMP v0.18.5
  Updating `C:\Users\Alex\.julia\environments\v1.0\Manifest.toml`
  [9e28174c] - BinDeps v0.8.10
  [49dc2e85] - Calculus v0.4.1
  [bbf7d656] - CommonSubexpressions v0.2.0
  [864edb3b] - DataStructures v0.15.0
  [163ba53b] - DiffResults v0.0.3
  [b552c78f] - DiffRules v0.0.8
  [f6369f11] - ForwardDiff v0.10.2
  [4076af6c] - JuMP v0.18.5
  [77ba4419] - NaNMath v0.3.2
  [89212889] - ReverseDiffSparse v0.8.6
  [276daf66] - SpecialFunctions v0.7.2
  [90137ffa] - StaticArrays v0.10.2

(v1.0) pkg> add JuMP
  Updating registry at `C:\Users\Alex\.julia\registries\General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
  Updating `C:\Users\Alex\.julia\environments\v1.0\Project.toml`
  [4076af6c] + JuMP v0.18.5
  Updating `C:\Users\Alex\.julia\environments\v1.0\Manifest.toml`
  [9e28174c] + BinDeps v0.8.10
  [49dc2e85] + Calculus v0.4.1
  [bbf7d656] + CommonSubexpressions v0.2.0
  [864edb3b] + DataStructures v0.15.0
  [163ba53b] + DiffResults v0.0.3
  [b552c78f] + DiffRules v0.0.8
  [f6369f11] + ForwardDiff v0.10.2
  [4076af6c] + JuMP v0.18.5
  [77ba4419] + NaNMath v0.3.2
  [89212889] + ReverseDiffSparse v0.8.6
  [276daf66] + SpecialFunctions v0.7.2
  [90137ffa] + StaticArrays v0.10.2

Followed your advice, and then restarted Julia to rerun test script.
Then got prompted:

ERROR: LoadError: SpecialFunctions is not installed properly, run `Pkg.build("SpecialFunctions")`,restart Julia and try again
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] top-level scope at C:\Users\Alex\.julia\packages\SpecialFunctions\fvheQ\src\SpecialFunctions.jl:6
 [3] include at .\boot.jl:317 [inlined]
 [4] include_relative(::Module, ::String) at .\loading.jl:1044
 [5] include(::Module, ::String) at .\sysimg.jl:29
 [6] top-level scope at none:2
 [7] eval at .\boot.jl:319 [inlined]
 [8] eval(::Expr) at .\client.jl:393
 [9] top-level scope at .\none:3
in expression starting at C:\Users\Alex\.julia\packages\SpecialFunctions\fvheQ\src\SpecialFunctions.jl:4

Performed that update – ran the test file again, then similar error occurred for “Clp”. Built “Clp” again, restarted Julia, and voila, the file finally works!
Not sure why removing and adding JuMP previously didn’t result in these different errors, but whatever.
Thanks so much for your help!