-
Notifications
You must be signed in to change notification settings - Fork 34
Incompatible with current ClojureScript (1.9.562) #88
Comments
Thanks for reporting - when I update the template to point to a newer cljs I'll add in a default As far as your attempt to fix it, I haven't seen this specific issue, though I've previously had issues with the compiler being weird about symbols being used for the namespace passed to I can take a look at the project if that's helpful. |
Ah, |
Adding |
hmm when I added :main :simple, the build worked but then I got:
|
oh I see... optimizations :simple not :main :simple |
@Peeja I found setting the edit: but that may just push the problem downstream to runtime I think. |
Hi, great discussion, thanks. However, when I upgrade to clojurescript 1.10.64 and clojure 1.9.0, but even when I try to change :optimizations to :simple or :main I am getting errors compiling:
|
@JimTheMan the semantics of |
Just so it's clearly and explicitly documented, this project.clj solved the issue for me:
|
Is there somewhere I should issue a PR or something? |
I'm happy to accept a pr - the leiningen template would be the place to put
the change
…On Fri, 22 Jun 2018, 18:53 the-frey, ***@***.***> wrote:
Is there somewhere I should issue a PR or something?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#88 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABYuK4PGqNlIqnwV3nm1vO0vdadXAc5Gks5t_S75gaJpZM4Nvbyb>
.
|
* Address #88 by bumping versions in template project.clj * Update serverless config to use never node version.
The
serverless
template (and probably the maincljs-lambda
template as well) is incompatible with the current (1.9.562) version of ClojureScript. Builds fail becausejava.lang.AssertionError: Assert failed: :nodejs target with :none optimizations requires a :main entry
.I've tried adding my
.core
namespace as the:main
. Bizarrely, that leads to:(where
<project-name>
is the name of the project)It looks like Clojure is trying to find the namespace instead of ClojureScript? I have no idea what's going on at this point.
The text was updated successfully, but these errors were encountered: