Giter Club home page Giter Club logo

Comments (4)

simon-lc avatar simon-lc commented on August 25, 2024

Hi Xianyi! Thanks for letting us know about this issue, I'll look into it this week and try to fix it

from dojo.jl.

yipor avatar yipor commented on August 25, 2024

I got this permission denied error when I'm trying to build Dojo on both Mac and Linux. Not sure what I did wrong.

(@v1.6) pkg> build Dojo
    Building WebIO → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/c9529be473e97fa0b3b2642cdafcd0896b4c9494/build.log`
    Building Blink → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/08d0b679fd7caa49e2bca9214b131289e19808c0/build.log`
    Building Dojo ─→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/97750ad693a1a2e43a9417aed731a15c7543c4ad/build.log`
ERROR: Error building `Dojo`: 
  Activating environment at `~/.julia/packages/Dojo/tpwPK/examples/Project.toml`
    Updating registry at `~/.julia/registries/General`
   Installed GR_jll ─────────── v0.64.2+0
   Installed DualNumbers ────── v0.6.8
   Installed NearestNeighbors ─ v0.4.10
   Installed Latexify ───────── v0.15.14
   Installed ArrayInterface ─── v5.0.6
   Installed AxisArrays ─────── v0.4.5
   Installed Distributions ──── v0.25.53
   Installed JuMP ───────────── v1.0.0
   Installed MathOptInterface ─ v1.1.2
   Installed PooledArrays ───── v1.4.1
   Installed Expat_jll ──────── v2.4.8+0
   Installed StatsFuns ──────── v0.9.17
   Installed EllipsisNotation ─ v1.5.0
   Installed RecipesPipeline ── v0.5.2
   Installed Polyhedra ──────── v0.7.3
   Installed Parsers ────────── v2.2.4
   Installed ProgressMeter ──── v1.7.2
   Installed SciMLBase ──────── v1.29.0
   Installed StaticArrays ───── v1.4.3
ERROR: LoadError: SystemError: opening file "/Users/xianyi/.julia/packages/Dojo/tpwPK/examples/Project.toml": Permission denied

got the same problem, successfully installed Dojo with root user.

from dojo.jl.

rejuvyesh avatar rejuvyesh commented on August 25, 2024

Julia packages when installed via Pkg.add or ] add are installed in a readonly directory. I'm pretty sure that's the issue. I would recommend deving the package for running examples.

from dojo.jl.

mfogelson avatar mfogelson commented on August 25, 2024

Julia packages when installed via Pkg.add or ] add are installed in a readonly directory. I'm pretty sure that's the issue. I would recommend deving the package for running examples.

This worked for me. For those that might not know that deving is:
] dev Dojo

This is then located in ~/.julia/dev/Dojo and the permissions are such that writing is possible

from dojo.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.