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

Broken builds on Netlify #907

Closed
mainej opened this issue Jun 24, 2021 · 2 comments
Closed

Broken builds on Netlify #907

mainej opened this issue Jun 24, 2021 · 2 comments

Comments

@mainej
Copy link

mainej commented Jun 24, 2021

As of version 2.14.5 shadow-cljs isn't working on Netlify (a popular code deployment and site hosting platform).

Builds there fail with the message:

Missing required argument for "-M ALIASES"

The problem was introduced by c3f738e. As that commit suggests, this is actually a problem with Netlify—they use an outdated version of the Clojure CLI.

So, I'm making this Issue not to ask for a change to shadow-cljs, but to help anyone else hitting the same problem. I was able to successfully deploy after downgrading shadow-cljs to 2.14.4. Please add your support for updating the Clojure CLI on Netlify to netlify/build-image#484.

@thheller
Copy link
Owner

This really only affects the npm cli version so it is possible just use the older npm package with newer shadow-cljs jars. Since you are using deps.edn anyways you can use the newer version there but keep 2.14.4 in package.json

@mainej
Copy link
Author

mainej commented Jun 24, 2021

Ah, good to know. Thanks.

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