ClojureScript

QuickStart example not working properly

Details

Description

Section "Using ClojureScript on a Web Page"
Executing:

./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.

Activity

Hide
Anton Logvinenko added a comment -

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

Show
Anton Logvinenko added a comment - UPD: The "out" directory is not deleted after the compilation. It's simply ignored by git.
Steven Kallstrom made changes -
Field Original Value New Value
Attachment CLJS-675.patch [ 13425 ]
Hide
Steven Kallstrom added a comment -

I encountered the same issue. Patch submitted.

Show
Steven Kallstrom added a comment - I encountered the same issue. Patch submitted.

People

Vote (1)
Watch (3)

Dates

  • Created:
    Updated: