<< Back to previous view

[CLJS-675] QuickStart example not working properly Created: 10/Nov/13  Updated: 31/Dec/14  Resolved: 31/Dec/14

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Minor
Reporter: Anton Logvinenko Assignee: Unassigned
Resolution: Completed Votes: 2
Labels: None

To reproduce only have to follow simple steps as described in https://github.com/clojure/clojurescript/wiki/Quick-Start
git clone git://github.com/clojure/clojurescript.git
cd clojurescript

Attachments: Text File CLJS-675.patch    


Section "Using ClojureScript on a Web Page"

./bin/cljsc hello.cljs '{:optimizations :advanced}' > hello.js

produces error message "java.io.FileNotFoundException: out/constants_table.js (No such file or directory)"

Just creating "out" directory seems to be fixing the problem. The directory is then deleted after the compilation.

mkdir out
./bin/cljsc hello.cljs '{:optimizations :advanced}' > hello.js

Also, "out" directory is mentioned in .gitignore.

Comment by Anton Logvinenko [ 10/Nov/13 5:28 AM ]

UPD: The "out" directory is not deleted after the compilation. It's simply ignored by git.

Comment by Steven Kallstrom [ 15/Oct/14 4:05 PM ]

I encountered the same issue. Patch submitted.

Comment by Daniel Brotsky [ 31/Dec/14 3:45 AM ]

Seems like a simple fix is to mention this issue in the QuickStart instructions.

Comment by David Nolen [ 31/Dec/14 10:38 AM ]

fixed https://github.com/clojure/clojurescript/commit/a9da41b67e3322ff7cae683760bef6b14781769d

Generated at Wed Nov 25 04:24:15 CST 2015 using JIRA 4.4#649-r158309.