Git Product home page Git Product logo

Comments (4)

malcolmsparks avatar malcolmsparks commented on August 18, 2024

You need to wait a little while for the js and css to compile. Could it be
that you browsed before the files had compiled?

Malcolm Sparks
Director

Email: [email protected]
Web: https://juxt.pro

JUXT LTD.
Software Consulting, Delivery, Training

On 8 July 2016 at 12:46, Oliver Mooney [email protected] wrote:

I've just cloned the Edge repository, added a boot task to integrate with
Emacs CIDER (as per the readme), and launched the sample app with boot
cider dev.

The server launches successfully and the sass and clojurescript
compilation steps report success to the console, but when I navigate to the
SPA example from the front page, I only see some introductory text and a

tag saying Initialising...

In the console, two errors report they couldn't load the compiled app
artifacts:

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (app.css, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (edge.js, line 0)

For info, after retrieving the various jars the boot task reports as
follows:

Starting reload server on ws://localhost:62435
Writing adzerk/boot_reload/init28564.cljs to connect to ws://localhost:62435...
Writing boot_cljs_repl.cljs...
12:18:28.474 [clojure-agent-send-off-pool-0] INFO edge.web-server - Started web-server on port 3000

Starting file watcher (CTRL-C to quit)...

Compiling {sass}... 8 changed files.
Adding :require adzerk.boot-reload.init28564 to edge.cljs.edn...
Retrieving cider-nrepl-0.12.0.pom from https://clojars.org/repo/
Retrieving refactor-nrepl-2.2.0.pom from https://clojars.org/repo/
Retrieving refactor-nrepl-2.2.0.jar from https://clojars.org/repo/ (11845k)
Retrieving cider-nrepl-0.12.0.jar from https://clojars.org/repo/ (322k)
nREPL server started on port 5600 on host 127.0.0.1 - nrepl://127.0.0.1:5600
Adding :require adzerk.boot-cljs-repl to edge.cljs.edn...
Compiling ClojureScript...
• edge.js
Writing target dir(s)...
2016-07-08 12:20:29.864 java[94827:8231576] 12:20:29.863 WARNING: 140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
Elapsed time: 121.690 sec

Are there other initialisation steps I need to perform?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#12, or mute the thread
https://github.com/notifications/unsubscribe/AAJ9O4m9SvngcNtEm77UA6KcVOqqLXc6ks5qTjiggaJpZM4JH9ZF
.

from edge.

OliverM avatar OliverM commented on August 18, 2024

Is the

Compiling ClojureScript...
• edge.js
Writing target dir(s)...

of the console output above not the final cljs compilation step? I browsed through the sample Swagger docs before trying the the SPA link.

In any event I've left it running over lunchtime & no change.

from edge.

dcj avatar dcj commented on August 18, 2024

FYI, the SPA hasn't been working for me the past couple of days. But I just tried again, this time connecting to the repl, did a (reset), brought up the regular gui, then brought up the SPA in another browser window, and now it works fine.

from edge.

OliverM avatar OliverM commented on August 18, 2024

A (reset) at the repl resolves the missing CSS and JS files for me too.

from edge.

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.