Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Conscript fails to install giter8 on MacOS #545

Closed
jasperstein opened this issue Apr 26, 2021 · 8 comments · Fixed by #565
Closed

Conscript fails to install giter8 on MacOS #545

jasperstein opened this issue Apr 26, 2021 · 8 comments · Fixed by #565

Comments

@jasperstein
Copy link

steps

Trying to install giter8 locally using conscript (since brew no longer will, see also #475).

MacOS 11.2.3, conscript 0.5.5, sbt 1.5.0.

problem

giter8 won't download, let alone install.

stack trace
% cs foundweekends/giter8
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.netty.util.internal.ByteBufferUtil (file:/Users/jasperstein/.conscript/boot/scala-2.11.12/org.foundweekends.conscript/conscript/0.5.5/netty-3.9.2.Final.jar) to method java.nio.DirectByteBuffer.cleaner()
WARNING: Please consider reporting this to the maintainers of org.jboss.netty.util.internal.ByteBufferUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
An unexpected error occurred: Please check your internet connection.
Exception message: https://api.github.com/repos/foundweekends/giter8/git/refs/heads/master

expectation

giter8 is installed

notes

@TonioGela
Copy link
Member

Have you tried Coursier? It is possible to install g8 simply prompting cs install giter8.

@fmv1992
Copy link

fmv1992 commented May 23, 2021

I'm running into the same problem on Ubuntu. cs install giter8 does not work neither.

@TonioGela
Copy link
Member

Are you using conscript or coursier?

@TonioGela
Copy link
Member

Just to be sure, try installing coursier locally and not globally using

curl -fLo cs https://git.io/coursier-cli-"$(uname | tr LD ld)"
chmod +x cs

and then try installing giter8 with it ./cs install giter8
If it works you might consider installing it globally using the one you just downloaded

./cs install cs
rm cs

but remember to uninstall conscript first

@fmv1992
Copy link

fmv1992 commented May 24, 2021

Thanks, that worked for me!

@TonioGela
Copy link
Member

You're welcome! @jasperstein what about you?

@jasperstein
Copy link
Author

It does 👍 Thanks!

However the official documentation at http://www.foundweekends.org/giter8/setup.html only mentions brew and conscript, both of which do not work. (So this is more a documentation issue than anything else)

@TonioGela
Copy link
Member

I will update it ASAP, don't worry.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

3 participants