Cannot import a fresh <saas> project.
I am using commands wasp new
then it prompts me to add a name.
then it says select 1,2,3,4
1 (basic) template works fine but 3 just doesnt loads. Its basically a blank black screen.
8 Replies
Hi @Sam. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
It sounds like you are able to create and run a new Wasp project using the basic template, but when you select option 3 (the saas template), the app starts but only shows a blank (black) screen.
Based on the knowledge sources, this is a known issue that has been discussed in the Wasp community. Here are some possible causes and troubleshooting steps:
1. Auth Configuration: The saas template comes with advanced features like authentication, Stripe payments, and more. Some features (like Stripe payments) require you to use Google, Github, or Email authentication. If you try to use username/password auth, you might encounter issues or a blank screen. Make sure you are using one of the supported auth methods for all features to work properly. Also, check if you have uncommented and configured the necessary code for email verification if you are using that feature. See the authentication guide for more details<source>https://discord.com/channels/686873244791210014/1217758453326680095</source.>
2. Browser Console Errors: If you see a blank screen, check your browser's developer console for errors. Sometimes, missing configuration or unhandled errors in the frontend can cause the app to fail to render.
3. CORS Issues: If you are running the app in an environment like Gitpod, you might encounter CORS errors, which can prevent the frontend from communicating with the backend. Make sure your
.env.client
file is set up correctly with the REACT_APP_API_URL
pointing to your server URL, and try restarting the app<source>https://discord.com/channels/686873244791210014/1217758453326680095</source.>
4. Template Version: There have been updates to the saas template, and the latest improvements may not be available in older versions of Wasp. If you are using a version before 0.12, you might be getting the old saas template, which could have issues. Upgrading to the latest Wasp CLI version is recommended<source>https://discord.com/channels/686873244791210014/1208366712450195466</source.>
Summary of steps to try:
- Use the latest Wasp CLI.
- Make sure you select a supported authentication method.
- Check your .env.client
configuration.
- Look for errors in the browser console.
- If using Gitpod or a similar environment, check for CORS issues.
If after these steps the issue persists, please provide any error messages from your browser console or terminal, as that will help further diagnose the problem.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Sam, 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?@Sam how long have you waited? It's slower and we are working on making it less slow now, but should be working.
For me it worked after ~20 seconds
GitHub
wasp new -t saas MyCoolSaasProject
is slow · Issue #3147 · wasp...For some reason it is quite slow till it check out open saas repo, takes like 10 seconds or something. I am guessing the git command that pulls in the data is probably pulling in too much? Maybe we...
Honestly I was trying for about 3-4 hours and then I just gave up.
Then i raised my query here and tried it one more time and this time it worked like magic haha. Definitely a coincidence i guess
Wohooo @Sam, you just became a Waspeteer level 1!
Thank you for reporting back 👍 let us know if it happens again!
same problem again. stuck since hours on getting a fresh saas installation
wasp is so good but getting a fresh copy is a pain
there gotta be a different way to import wasp. can we not gitclone it from somewhere ?
still stuck uhh
We are actively working on this 😄 to make it faster - see it here https://github.com/wasp-lang/wasp/pull/3196
We use for now the Open SaaS repo as the source of truth for the template, in the meantime, you can clone the repo and use the
template
dir.
GitHub
Use pre-built tarballs for
wasp new -t saas
by cprecioso · Pull ...Resolves #3147
In wasp-lang/open-saas#511 we made a GitHub action that pre-compresses the OpenSaaS template and allows it to be delivered via the GH CDN.
In this PR, we point wasp new to use that a...