W
Wasp-langβ€’5d ago
Yami

Issue with installation

Hi πŸ‘‹ I'm trying to install the SAAS template from wasp but I'm running into issues (I think) because there is no feedback from the wasp start command I can't even tell what's actually causing the issue. This is on WSL on windows, on node 20 I suspect it might be having issues because it's already been an hour, and it shouldnt' take this long. I saw a similar issue in the search with a suggestion to create the folder inside of WSL itself but that hasn't helped either
No description
21 Replies
kapa.ai
kapa.aiβ€’5d ago
Hi @Yami. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- It seems you're encountering an issue with the installation of the SAAS template using Wasp on WSL (Windows Subsystem for Linux). Based on the information provided in the knowledge sources, this is likely related to a known issue with WSL2 and file system compatibility. Let me explain and provide some suggestions: 1. WSL2 File System Issue: There's a known problem when running Wasp projects on the Windows file system through WSL2. Wasp may not be able to detect file changes properly due to this issue. Github Issue (https://github.com/wasp-lang/wasp/issues/48) 2. Recommended Solution: The best practice is to ensure your Wasp project is on the Linux file system, not the Windows file system. This is crucial for proper functionality. Quick Start Guide (https://wasp-lang.dev/docs/quick-start#installation-1) 3. Step-by-step Guide: There's a detailed guide available for setting up Wasp development on WSL. This might help you resolve the installation issues you're facing. Wasp WSL Guide (https://wasp-lang.dev/blog/2023/11/21/guide-windows-development-wasp-wsl) 4. Lack of Feedback: The issue of limited feedback during wasp start is a known concern. The Wasp team is aware that during long installations, especially with slow internet connections, users may see repetitive "waiting a bit longer" messages without clear progress indicators. This can indeed make it difficult to identify the root cause of delays or issues. Github Issue Comment (https://github.com/wasp-lang/wasp/issues/249) 5. Troubleshooting Steps: If you're still facing issues, you could try the following: - Run wasp compile (an internal command that won't start the project) - Navigate to .wasp/out/web-app and run npm install - Go to .wasp/out/server and run npm install These steps can help simulate what Wasp does and might reveal more detailed error messages. Discord Support Thread (https://discord.com/channels/686873244791210014/1213593156646604820) Given the length of time you've been waiting, it's likely that something isn't working as expected. I'd recommend following the WSL guide linked above, ensuring your project is on the Linux file system, and if issues persist, try the troubleshooting steps to get more detailed error messages. If you continue to face problems, consider reaching out on the Wasp Discord channel for more personalized support, as community members there have experience with WSL setups. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Yami, 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?
Yami
YamiOPβ€’5d ago
Don't seem to have any luck after trying a lot of the above including going directly into .wasp/out/ Any way to get logs of what is blocking the install?
Vinny (@Wasp)
Vinny (@Wasp)β€’5d ago
as well as the tips in the Open SaaS docs (the saas template is branded as "Open SaaS" and we have dedicated landingpage & docs for it)? https://docs.opensaas.sh/start/getting-started/#windows
OpenSaaS.sh
Getting Started
Open SaaS is a free, open-source, full-stack SaaS starter kit for React + NodeJS.
Yami
YamiOPβ€’5d ago
Yeah have already been following all of the instructions I don't really know what is going on, if I go into .wasp/out/web-app and .wasp/out/server to run npm install those do work fine although they take awhile but going back to app/ and doing wasp start just takes me back to the same loop again
Vinny (@Wasp)
Vinny (@Wasp)β€’5d ago
I'm not the WSL expert here. Maybe @Boris or @martinsos can provide some info, but I'd try running wasp clean and wasp start again. see if that solves your issue first Or just try starting a brand new project If you see any errors please share them. Also if you can share more about how you setup WSL that would help
Yami
YamiOPβ€’5d ago
Yeah I've already tried the wasp clean wasp start thing a couple of times left it running for an hour or 2 haha, don't really remember how I setup WSL before since it's been ages I've used it for only my python projects previously which worked fine I'll try again on my mac next time to see if I have issues there
NEROX
NEROXβ€’5d ago
I started hating windows when I started developing with wasp
Yami
YamiOPβ€’5d ago
:sadboi:
Boris
Borisβ€’5d ago
Could it be internet-related? Does it work in the WSL environment correctly?
NEROX
NEROXβ€’5d ago
In my WSL works, well, from wasp clean to complete wasp start around 10-15 min
Boris
Borisβ€’5d ago
Since it is only the installation part that is causing issues, it could be due to internet throttling on unstable connection
Yami
YamiOPβ€’5d ago
I thought it could be the npm install failing but doing these manually installs fine, what else does the wasp start script do? Navigate to .wasp/out/web-app and run npm install Go to .wasp/out/server and run npm install
MEE6
MEE6β€’5d ago
Wohooo @Yami, you just became a Waspeteer level 1!
Boris
Borisβ€’5d ago
it runs the projects and listens to file changes and recompliles/restarts accordingly
Yami
YamiOPβ€’5d ago
did a fresh clean and start again, been running for just over 50mins now I guess, I'll probably try one of the other starters from wasp new to see if I can get those to work
miho
mihoβ€’5d ago
Are you using the Windows or Linux file system for the app? I know some people reported long wait times when they used (I think) Windows file system and that made everything super slow.
Yami
YamiOPβ€’5d ago
Didn't think of that one, let me check
Yami
YamiOPβ€’5d ago
should be the linux one
No description
martinsos
martinsosβ€’5d ago
@Yami yeah some stuff is happening in the background but nothing super smart, most of it is just npm install being run. So it certainly shouldn't be taking 50 minutes. Can you check your internet activity (download)? Does it constantly downlaod stuff in those 50 minutes, or does it download stuff for some time and then not so much really? How much does it download? I am wondering if it just slow in downloading stuff, or if it is sometihng else it is getting stuck on.
Yami
YamiOPβ€’3d ago
Tried to do an npm install directly in the app root and I do see it hanging here but I'll come back to it later and se
No description
Want results from more Discord servers?
Add your server