Comments (4)
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 atag 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 3000Starting 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 secAre 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.
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.
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.
A (reset)
at the repl resolves the missing CSS and JS files for me too.
from edge.
Related Issues (20)
- bin/eftest will succeed with 0 tests if it can't load namespaces HOT 4
- add-lib writes to *err* when logging HOT 1
- Evaluate post-reset hook
- onejar build doesn't include compiled assets HOT 4
- :edge.yada.ig/redirect :opts parameter HOT 2
- Can't force rebuild app HOT 2
- Improved Readme
- Maintain a system-args var HOT 1
- No method in multimethod 'init-key' Error HOT 3
- onejar Jar doesn't take cli args HOT 1
- Add LANG=en_US.UTF-8 to elastic beanstalk default env vars
- Add uncaught exception handler to prod main
- Test utils should catch & cleanup system if ig/init fails
- Bump aero version
- onejar execution can't find pack on classpath HOT 2
- Cannot run tutorial.vent after following the tutorial HOT 1
- Can't run tutorial.vent HOT 1
- 404 for a link in the readme HOT 1
- Support automatic dependency update checking HOT 1
- Using dev namespace instead of user? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edge.