You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error message when executing $julia --project=. make.jl from terminal in the ~\myPackage\docs\ directory.
(Julia 1.11.1 and Documenter 1.7.0 on a Windows 10 machine)
I tried executing make.jl from within the Julia REPL as follows, and still get the same error message.
shell> cd $PROJ/docs
pkg> activate .
julia>include("make.jl")
I've also tried running the commands from admin-enabled terminal and admin-enabled Julia REPL sessions to no avail.
Lastly I opened up $USER\.julia\packages\Documenter\C1XEF\src\builder_pipeline.jl:87 to inspect the rm command that's setting off the error (shown below).
I don't think force=true should really do anything here, since it's a permissions issue, but force is there just so that you wouldn't throw for non-existent paths:
If force=true is passed, a non-existing path is not treated as error.
But I don't really have any advice beyond suggesting to try to figure out what's going on with the permissions. Generally, Documenter runs fine on Windows, so it seems to be something specific to your setup. If it's really an issue, it would be good if you could figure out an MWE.
but the file is read-only so I can't edit it.
You could add Documenter as a dev dependency -- then you'd have the source code.
I get the following error message when executing
$julia --project=. make.jl
from terminal in the~\myPackage\docs\
directory.(Julia 1.11.1 and Documenter 1.7.0 on a Windows 10 machine)
Below is the
make.jl
file referenced at the top-level scope.To generate the project, I followed the steps (starting at "Package Structure") from this website:
https://jaantollander.com/post/how-to-create-software-packages-with-julia-language/#package-structure
Below is the resulting file tree.
I tried executing
make.jl
from within the Julia REPL as follows, and still get the same error message.I've also tried running the commands from admin-enabled terminal and admin-enabled Julia REPL sessions to no avail.
Lastly I opened up
$USER\.julia\packages\Documenter\C1XEF\src\builder_pipeline.jl:87
to inspect therm
command that's setting off the error (shown below).I think including
force=true
in the kwargs forrm
would do the trick (as shown below), but the file is read-only so I can't edit it.Any advice on where to go from here would be greatly appreciated.
The text was updated successfully, but these errors were encountered: