Both on Julia 1.62 and 1.7 rc1
import Pluto
[ Info: Precompiling Pluto [c3e4b0f8-55cb-11ea-2926-15256bba5781]
ERROR: LoadError: Evaluation into the closed module `Configurations` breaks incremental compilation because the side effects will not be permanent. This is likely due to some other module mutating `Configurations` with `eval` during precompilation - don't do this.
Stacktrace:
[1] eval
@ ./boot.jl:373 [inlined]
[2] eval
@ ~/.julia/packages/Configurations/RNhkY/src/Configurations.jl:1 [inlined]
[3] is_reflect_type_expr(m::Module, ex::Any)
@ Configurations ~/.julia/packages/Configurations/RNhkY/src/codegen.jl:144
[4] has_duplicated_reflect_type
@ ~/.julia/packages/Configurations/RNhkY/src/codegen.jl:135 [inlined]
[5] option_m(mod::Module, ex::Expr, type_alias::Nothing)
@ Configurations ~/.julia/packages/Configurations/RNhkY/src/codegen.jl:94
[6] option_m(mod::Module, ex::Expr)
@ Configurations ~/.julia/packages/Configurations/RNhkY/src/codegen.jl:92
[7] var"@option"(__source__::LineNumberNode, __module__::Module, ex::Any)
@ Configurations ~/.julia/packages/Configurations/RNhkY/src/codegen.jl:84
[8] #macroexpand#51
@ ./expr.jl:115 [inlined]
[9] macroexpand
@ ./expr.jl:114 [inlined]
[10] docm(source::LineNumberNode, mod::Module, meta::Any, ex::Any, define::Bool) (repeats 2 times)
@ Base.Docs ./docs/Docs.jl:537
[11] var"@doc"(__source__::LineNumberNode, __module__::Module, x::Vararg{Any})
@ Core ./boot.jl:517
[12] include(mod::Module, _path::String)
@ Base ./Base.jl:420
[13] include(x::String)
@ Pluto ~/.julia/packages/Pluto/nkHsc/src/Pluto.jl:11
[14] top-level scope
@ ~/.julia/packages/Pluto/nkHsc/src/Pluto.jl:23
[15] include
@ ./Base.jl:420 [inlined]
[16] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base ./loading.jl:1318
[17] top-level scope
@ none:1
[18] eval
@ ./boot.jl:373 [inlined]
[19] eval(x::Expr)
@ Base.MainInclude ./client.jl:453
[20] top-level scope
@ none:1
in expression starting at /Users/raukhur/.julia/packages/Pluto/nkHsc/src/Configuration.jl:22
in expression starting at /Users/raukhur/.julia/packages/Pluto/nkHsc/src/Configuration.jl:1
in expression starting at /Users/raukhur/.julia/packages/Pluto/nkHsc/src/Pluto.jl:1
ERROR: Failed to precompile Pluto [c3e4b0f8-55cb-11ea-2926-15256bba5781] to /Users/raukhur/.julia/compiled/v1.7/Pluto/jl_TVIfsu.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base ./loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base ./loading.jl:997
Anyone know how to address this?