W
Wasp-langβ€’4mo ago
wailroth

Unable to create opensaas project

Hi! I don't know why i'm getting this error, trying to create a new project:
wasp new -t saas
Enter the project name (e.g. my-project) β–Έ saas-test

🐝 --- Creating your project from the "saas" template... --------------------------



❌ --- [Error] Project creation failed: -------------------------------------------

HttpExceptionRequest Request {
host = "github.com"
port = 443
secure = True
requestHeaders = [("Connection","close")]
path = "/wasp-lang/open-saas/archive/wasp-v0.14-template.tar.gz"
queryString = ""
method = "GET"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
proxySecureMode = ProxySecureWithConnect
}
(InternalException (HostCannotConnect "github.com" [Network.Socket.connect: <socket: 59>: invalid argument (Bad file descriptor)]))
wasp new -t saas
Enter the project name (e.g. my-project) β–Έ saas-test

🐝 --- Creating your project from the "saas" template... --------------------------



❌ --- [Error] Project creation failed: -------------------------------------------

HttpExceptionRequest Request {
host = "github.com"
port = 443
secure = True
requestHeaders = [("Connection","close")]
path = "/wasp-lang/open-saas/archive/wasp-v0.14-template.tar.gz"
queryString = ""
method = "GET"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
proxySecureMode = ProxySecureWithConnect
}
(InternalException (HostCannotConnect "github.com" [Network.Socket.connect: <socket: 59>: invalid argument (Bad file descriptor)]))
5 Replies
kapa.ai
kapa.aiβ€’4mo ago
Hi @wailroth. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- It seems like you're trying to create a new project using the saas template with the command wasp new -t saas. However, the error message indicates that there's a problem connecting to GitHub to download the template. This could be due to a network issue on your end, or it could be that the template you're trying to use is not available or has been moved. According to a Discord support thread (https://discord.com/channels/686873244791210014/1208366712450195466), there was a discussion about updating the saas template. It's possible that the template you're trying to use has been updated or moved, and the command hasn't been updated yet to reflect this change. You might want to try creating a new project with the default template to see if the problem persists. You can do this by running wasp new <project-name> without the -t saas option, as described in the Wasp CLI documentation (https://wasp-lang.dev/docs/general/cli#creating-a-new-project). If the problem persists, it might be a good idea to check your network connection and try again later. If you're still having trouble, you might want to reach out to the Wasp community for further assistance. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @wailroth, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
wailroth
wailrothOPβ€’4mo ago
Yep, creating a basic project works well @kapa.ai , but not the SaaS
kapa.ai
kapa.aiβ€’4mo ago
Let me check the knowledge base for you. One moment! :books: ---------------------- I see, it seems like the issue is specifically with the saas template. As per the Wasp CLI documentation (https://wasp-lang.dev/docs/general/cli#creating-a-new-project), the wasp new command should allow you to create a new project with the saas template. However, it appears there might be an issue with the location or availability of the saas template on GitHub. As a workaround, you could try cloning the open-saas repository directly from GitHub, as discussed in this Discord support thread (https://discord.com/channels/686873244791210014/1195406663633608754). You can do this by running the following command:
git clone <https://github.com/wasp-lang/open-saas.git>
git clone <https://github.com/wasp-lang/open-saas.git>
This will clone the open-saas repository to your local machine, and you can then navigate into the project directory and start working on your project. If you're still having trouble, I would recommend reaching out to the Wasp community for further assistance. They might be able to provide more up-to-date information or help troubleshoot the issue. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @wailroth, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
wailroth
wailrothOPβ€’4mo ago
what a cool bot lol Oh, I found! It was because of my network filter
miho
mihoβ€’4mo ago
Nice πŸ˜„ I'm glad it worked out for you
Want results from more Discord servers?
Add your server