Skip to content

Deploying to Heroku gives 'ClojureScript has not been compiled!' #124

@boyentenbi

Description

@boyentenbi

I've created an app using this template (great stuff btw) and am now trying to deploy using Heroku as per the README instructions.

In the project directory I run

lein do clean, uberjar
git init
git add .
git commit -m "init"
heroku create
git push heroku master

After the last command, the remote deploys the app and verifies it. One of the messages during deployment is: Compiling "target/cljsbuild/public/js/app.js" from ["src/cljs" "src/cljc" "env/prod/cljs"] which seems to be correct.

However, the app gives the message 'ClojureScript has not been compiled!' which I am familiar with from local development. Locally this just means I haven't run lein figwheel yet, but I'm not sure what I ought to do since this is the deployed version.

Any help is appreciated, cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions