Coder Social home page Coder Social logo

Comments (7)

niwinz avatar niwinz commented on June 1, 2024

On the tmux tab 2 you have the frontend code compiler/watcher, there are some problem here, probably some race condition on fresh start, I guess with a simple restart it should be fixed
In other words: you getting 404 error and blank page because the fronted compilation process is stopped for some reason.

from penpot.

bokykisac avatar bokykisac commented on June 1, 2024

Right, thanks.

It looks like there is an issue downloading the instaparse library. This is my log from shadow-watch tab.

penpot@d76b097636c3:~/penpot/frontend$ clojure -M:dev:shadow-cljs watch main
Error building classpath. Could not transfer artifact instaparse:instaparse:jar:1.4.12 from/to clojars (https://repo.clojars.org/): status code: 416, reason phrase: Range Not Satisfiable (416)

from penpot.

borisstratus avatar borisstratus commented on June 1, 2024

We're facing the same issue in our environment. Any input from penpot devs would be highly appreciated.

from penpot.

arunavo4 avatar arunavo4 commented on June 1, 2024

I just tried it and it works perfectly.

from penpot.

niwinz avatar niwinz commented on June 1, 2024

Right, thanks.

It looks like there is an issue downloading the instaparse library. This is my log from shadow-watch tab.

penpot@d76b097636c3:~/penpot/frontend$ clojure -M:dev:shadow-cljs watch main
Error building classpath. Could not transfer artifact instaparse:instaparse:jar:1.4.12 from/to clojars (https://repo.clojars.org/): status code: 416, reason phrase: Range Not Satisfiable (416)

When you starting from new instance with no cache, multiple jvm is launched at the same time and is probably that the same file is downloaded twice (race condition). I suggest: Try to restart the process, if problem persists; then delete the ~/.m2, stop all proceses from shadow, exporter and backend tabs, and start them in order one by one.

from penpot.

bokykisac avatar bokykisac commented on June 1, 2024

I cloned the repo again, pulled the devenv and ran it and it now works. Although it took like ~25mins for everything to build up and be ready.

from penpot.

niwinz avatar niwinz commented on June 1, 2024

The first cold startup with no dependencies predownloaded it is possible. because the tmux starts 3 JVM's on the same time. But rarelly you need the all 3 jvms at same time.

On already prepopulated cache it should take less (much less) time. I also recommend abort the exporter compiler watch process (exporter tab) with Ctrl+c if you don't have plans to develop anything related the exporter module. This will make the startup faster also.

from penpot.

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.