Home > Blockchain >  Scala- Conscript - "An unexpected error occurred: Please check your internet connection"
Scala- Conscript - "An unexpected error occurred: Please check your internet connection"

Time:09-30

Context: I'd like to install conscript and giter8 so that I can more efficiently create and work with Scalatra project files. I've followed the instructions enter image description here

Question: Can someone please let me know what I'm doing wrong? And explain how I can get conscript up and running properly?

UPDATE: running the jar still is not working but I re-tried running the powershell script and that does look like it was able to successfully install conscript. When I cd into the .conscript\bin directory and run cs foundweekends/giter8 I'm still getting this strange error which indicates to me either conscript or giter8 is still not up and running correctly.

c:\Users\e.b\.conscript\bin>cs foundweekends/giter8
An unexpected error occurred: Please check your internet connection.
Exception message: 
https://api.github.com/repos/foundweekends/giter8/git/refs/heads/master

c:\Users\e.b\.conscript\bin>

When I navigate to the URL provided I then get a message that reads.

{ "message": "Not Found", "documentation_url": "https://docs.github.com/rest" }

CodePudding user response:

I found some additional documentation that seems to resolve the issue: http://www.foundweekends.org/giter8/

When I run cmd and execute sbt new scala/scala-seed.g8 I'm able to successfully setup Scalatra templates.

  • Related