Zuck
WWasp-lang
•Created by Zuck on 11/18/2024 in #🙋questions
Import JSON in env.server ?
I’m losing it, I’m trying so many methods to import my Google vertex service account credentials which are in JSON format.
Anyone know howwww
15 replies
WWasp-lang
•Created by Zuck on 10/29/2024 in #🙋questions
Should I Update my WASP Version?
Hii long time no seee, I've been heads down working on my app the last month, and were going to production soon, have there been lots of updates and bug fixes? Should i updateee im on version 0.14.1
11 replies
WWasp-lang
•Created by Zuck on 9/27/2024 in #🙋questions
WASP App Wont Load Without Restarting Computer
My WASP App will load properly the first run, but it will not run no matter what i do the second time.
So lets say i turn on my Macbook (m2 chip), I go to my wasp app, i wasp start db and wasp start. Everything opens great, app works.
But if i save a change, or CTRL + C the terminal that started the app, no matter what (i close vscode, i wasp clean, etc). The app will NOT load again.
Like it looks like its loading fine in the terminal.
The online app link will work, but the local app link just endless load on any browser.
Is my app getting too big ? Not sure what to do.
Oh but if i restart my computer it works again just the one time
37 replies
WWasp-lang
•Created by Zuck on 9/6/2024 in #🙋questions
Creating DMG file with Electron?
Has anyone been able to convert their WASP app into a DMG file using electron or something else?
11 replies
WWasp-lang
•Created by Zuck on 8/29/2024 in #🙋questions
Outside of Vite service allow list
Hi Guys!
I keep getting this randomly but for like every page....
[ Client!] The request url "/users/jacobferrari/documents/waspapp/my-saas/app/src/client/app/productpage.tsx" is outside of Vite serving allow list.
it happens randomly.
Is this a WASP thing?
Let me know
36 replies
WWasp-lang
•Created by Zuck on 7/26/2024 in #🙋questions
*/migrations should not be in .gitignore right?
Just noticed */migrations is in my gitignore and im pretty sure WASP auto put it there.
That shouldnt be there right?
6 replies
WWasp-lang
•Created by Zuck on 6/12/2024 in #🙋questions
Can't redirect after action taken
Im losing my marbles on this one.
I'm using from react-router-dom to try to redirect to 1 of 2 pages.
But i can't get the redirect to work for the LIFE of me.
My log response payload is:
Which is great that shows redirectUrl is being chosen correctly and gpt4o is giving me the ideal response.
So why no redirect :sadboi: , i would use but thats in new router-dom.
14 replies
WWasp-lang
•Created by Zuck on 6/11/2024 in #🙋questions
Some crazy WASP error!
Hey guys!
This is a different project from my main design one so its pretty new, so i can afford any breaking fixes lol.
I don't know what the heck happened but i get this error:
things are WILDING out.
I think this line is key
Pretty sure it shouldn't be looking there.
Something kind of similar to this happened way back when I was using direct imports but from what I see and done all my imports are relative.
Heres a link to the full WASP project code: https://www.mediafire.com/file/78efctqk6a6e75h/RecruitAI.zip/file
18 replies
WWasp-lang
•Created by Zuck on 5/30/2024 in #🙋questions
CORS Issues After Deployment (Email Auth)
Sorry to keep berading with questions (although i seem to eventually solve them haha. But i'm getting CORS errors during the signup and login process after deploying. Do i have to setup CORS in a different way upon deployment? I thought WASP handled that.
Also the app isnt ready yet so i just deleted the full url
47 replies
WWasp-lang
•Created by Zuck on 5/27/2024 in #🙋questions
Best Solution to Automate Workflows
I definitely need advice.
Im beginning to automate workflows in businesses (connecting APIs with an LLM on top) Im about to start developing for clients.
I had always used make .com before because it’s easy to connect APIs together.
But now I’ve gotten pretty decent at using WASP & React and I feel like that can be more flexible than something low code.
Also something lacking with make is the ability to create a dashboard if I need the user to click a button or type some input to start the workflow automation.
Can I use WASP in an away where I can run API requests in a chain at scheduled times and create multiple dashboards with it ?
Or better yet should I combo WASP with make?
WASP can be used to make the dashboards?
Or I guess WASP makes CRON jobs pretty easy and this is the way?
Also note: the goal is create these workflow automations quick and lower cost (let’s say $20k on avg per project) (right now if I’m building it out that doesn’t matter but when we hire team on it will)
Haha just want advice 🙏
8 replies
WWasp-lang
•Created by Zuck on 5/14/2024 in #🙋questions
Anyone got RAG working with WASP?
My current approach is to use langchains build in vector storage but i want the vector data to be stored in Postgre database that WASP makes. - crappy coder that uses AI to code religiously
10 replies
WWasp-lang
•Created by Zuck on 4/13/2024 in #🙋questions
freaking out a little bit
WASP 13.2
[ Client ] > [email protected] start
[ Client ] > npm run validate-env && vite
[ Client ]
[ Server ] > [email protected] watch
[ Server ] > nodemon --exec 'npm run bundle-and-start || exit 1'
[ Server ]
[ Client ]
[ Client ] > [email protected] validate-env
[ Client ] > node -r dotenv/config ./scripts/validate-env.mjs
[ Client ]
[ Client!] node:internal/modules/esm/resolve:264
[ Client!] throw new ERR_MODULE_NOT_FOUND(
[ Client!] ^
[ Client!]
[ Client!] Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/jacobferrari/Documents/WASP App/my-saas/app/node_modules/wasp/dist/universal/validators.js' imported from /Users/jacobferrari/Documents/WASP App/my-saas/app/.wasp/out/web-app/scripts/validate-env.mjs
[ Client!] at finalizeResolution (node:internal/modules/esm/resolve:264:11)
[ Client!] at moduleResolve (node:internal/modules/esm/resolve:924:10)
[ Client!] at defaultResolve (node:internal/modules/esm/resolve:1148:11)
[ Client!] at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:390:12)
[ Client!] at ModuleLoader.resolve (node:internal/modules/esm/loader:359:25)
[ Client!] at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:234:38)
[ Client!] at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:87:39)
[ Client!] at link (node:internal/modules/esm/module_job:86:36) {
[ Client!] code: 'ERR_MODULE_NOT_FOUND',
[ Client!] url: 'file:///Users/jacobferrari/Documents/WASP%20App/my-saas/app/node_modules/wasp/dist/universal/validators.js'
[ Client!] }
[ Client!]
[ Client!] Node.js v21.7.1
No idea what’s causing it, already tried deleting package-lock and wasp folder and reinstalling.
45 replies