Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ReferenceError: CodeMirror is not defined #1

Closed
robert-stuttaford opened this issue Aug 1, 2013 · 1 comment
Closed

Uncaught ReferenceError: CodeMirror is not defined #1

robert-stuttaford opened this issue Aug 1, 2013 · 1 comment

Comments

@robert-stuttaford
Copy link
Collaborator

All of these returned 404s:

/third-party/codemirror-3.14/lib/codemirror.css
/third-party/codemirror-3.14/lib/codemirror.js
/third-party/codemirror-3.14/mode/clojure/clojure.js

Here's my console output after following the instructions in the readme:

$ git clone git@github.com:jonase/learndatalogtoday.git
Cloning into 'learndatalogtoday'...
cd learemote: Counting objects: 238, done.
remote: Compressing objects: 100% (165/165), done.
remote: Total 238 (delta 91), reused 180 (delta 37)
Receiving objects: 100% (238/238), 46.12 KiB | 71.00 KiB/s, done.
Resolving deltas: 100% (91/91), done.
Checking connectivity... done

$ cd learndatalogtoday

$ ./fetch-js-deps.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 85732  100 85732    0     0  64493      0  0:00:01  0:00:01 --:--:--  105k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  771k  100  771k    0     0   217k      0  0:00:03  0:00:03 --:--:--  262k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 51841    0 51841    0     0  25220      0 --:--:--  0:00:02 --:--:-- 40217
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 93064  100 93064    0     0  82131      0  0:00:01  0:00:01 --:--:--  151k
Markdown.Converter.js -> resources/public/third-party/pagedown/Markdown.Converter.js
jquery-1.10.1.min.js -> resources/public/third-party/jquery/jquery-1.10.1.min.js
bootstrap.zip
codemirror.zip

$ lein cljsbuild once
Retrieving lein-ring/lein-ring/0.8.6/lein-ring-0.8.6.pom from clojars
Retrieving lein-ring/lein-ring/0.8.6/lein-ring-0.8.6.jar from clojars
Compiling ClojureScript.
Retrieving hylla/hylla/0.1.0/hylla-0.1.0.pom from clojars
Retrieving ring-mock/ring-mock/0.1.5/ring-mock-0.1.5.pom from clojars
Retrieving datomic-query-helpers/datomic-query-helpers/0.1.0/datomic-query-helpers-0.1.0.pom from clojars
Retrieving com/cemerick/clojurescript.test/0.0.4/clojurescript.test-0.0.4.pom from central
Retrieving markdown-clj/markdown-clj/0.9.29/markdown-clj-0.9.29.pom from clojars
Retrieving hiccups/hiccups/0.2.0/hiccups-0.2.0.pom from clojars
Retrieving com/datomic/datomic-free/0.8.4111/datomic-free-0.8.4111.pom from clojars
Retrieving com/cemerick/clojurescript.test/0.0.4/clojurescript.test-0.0.4.jar from central
Retrieving ring-mock/ring-mock/0.1.5/ring-mock-0.1.5.jar from clojars
Retrieving hylla/hylla/0.1.0/hylla-0.1.0.jar from clojars
Retrieving hiccups/hiccups/0.2.0/hiccups-0.2.0.jar from clojars
Retrieving datomic-query-helpers/datomic-query-helpers/0.1.0/datomic-query-helpers-0.1.0.jar from clojars
Retrieving com/datomic/datomic-free/0.8.4111/datomic-free-0.8.4111.jar from clojars
Retrieving markdown-clj/markdown-clj/0.9.29/markdown-clj-0.9.29.jar from clojars
Compiling "resources/public/app.js" from ["src/cljs"]...
Successfully compiled "resources/public/app.js" in 6.957538 seconds.

$ lein ring server
Started server on port 3000
@jonase
Copy link
Owner

jonase commented Aug 1, 2013

this should now be fixed in master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants