Kynetix
WWasp
•Created by paulo.langer on 7/17/2024 in #🙋questions
Supabase Auth
Hi, were you able to get this sorted out? I'm building a Saas with supabase as well and trying to decide which auth to use - Supabase or Opensaas'. What are the pros and cons of each?
10 replies
WWasp
•Created by Kynetix on 2/23/2025 in #🙋questions
cannot find module /auth/ui
Thanks, but that search yielded nothing.
Got it sorta fixed by, among other things, replacing {children} with <Outlet /> in src/client/App.tsx, and deleting node_modules & package-lock.json, then npm install.
Also had some errors like
"Pre-transform error: [postcss] It looks like you're trying to use
tailwindcss
directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install @tailwindcss/postcss
and update your PostCSS configuration."12 replies
WWasp
•Created by Kynetix on 2/23/2025 in #🙋questions
cannot find module /auth/ui
Any idea which server file I should check? I never touched any other files during the upgrade, except following the upgrade instructions on the Wasp site 🙂
12 replies
WWasp
•Created by Kynetix on 2/23/2025 in #🙋questions
cannot find module /auth/ui
Sorry about the delay in response. Juggling 3-4 different projects at once is no easy task!
Here's the error log:
[ Client ] ➜ Local: http://localhost:3000/
[ Client ] ➜ Network: http://192.168.4.65:3000/
[ Client ] ➜ Network: http://100.64.214.27:3000/
[ Client ] ➜ press h + enter to show help
[ Server ]
[ Server ] > [email protected] start
[ Server ] > node --enable-source-maps -r dotenv/config bundle/server.js
[ Server ]
[ Server!] node:internal/modules/esm/resolve:264
[ Server!] throw new ERR_MODULE_NOT_FOUND(
[ Server!] ^
[ Server!]
[ Server!] Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/obinnaezeilo/Projects/ai/opensaas/docfolio/app/.wasp/out/sdk/wasp/dist/client/auth/ui' imported from /Users/obinnaezeilo/Projects/ai/opensaas/docfolio/app/.wasp/out/sdk/wasp/dist/client/auth/index.js
[ Server!] at finalizeResolution (node:internal/modules/esm/resolve:264:11)
[ Server!] at moduleResolve (node:internal/modules/esm/resolve:917:10)
[ Server!] at defaultResolve (node:internal/modules/esm/resolve:1130:11)
[ Server!] at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
[ Server!] at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
[ Server!] at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
[ Server!] at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
[ Server!] at link (node:internal/modules/esm/module_job:84:36) {
[ Server!] code: 'ERR_MODULE_NOT_FOUND',
[ Server!] url: 'file:///Users/obinnaezeilo/Projects/ai/opensaas/docfolio/app/.wasp/out/sdk/wasp/dist/client/auth/ui'
[ Server!] }
[ Server!]
[ Server!] Node.js v20.11.1
12 replies
WWasp
•Created by Kynetix on 2/8/2025 in #🙋questions
Port 5432 is already in use
Thanks, I figured it out. I didn't know about the DATABASE_URL option before 🙂
Thanks
10 replies
WWasp
•Created by Kynetix on 2/8/2025 in #🙋questions
Port 5432 is already in use
I've added the DATABASE_URL to the .env.server, but when I run wasp start db, I get the error "Wasp has detected that you have defined DATABASE_URL env var in your .env.server file.
To have Wasp run the dev database for you, make sure you remove that env var first."
Should I run a different command instead?
10 replies
WWasp
•Created by Kynetix on 10/28/2024 in #🙋questions
Display app version in UI
Thanks, @martinsos that was it.
export const getAppVersion = () => {
return process.env.npm_package_version;
} // works great. Thanks a lot
14 replies
WWasp
•Created by Kynetix on 10/28/2024 in #🙋questions
Display app version in UI
@kapa.ai thanks for the feedback. Is there an alternate way to track the app's version? I want to be maintaining the versions when I publish to git, and have the version number displayed on the UI. It doesn't have to be in package.json
14 replies
WWasp
•Created by Kynetix on 10/23/2024 in #🙋questions
File is not defined
I'm guessing you guys are the developers of Wasp? Great job guys!!
23 replies
WWasp
•Created by Kynetix on 10/23/2024 in #🙋questions
File is not defined
Ah, interesting. So do you plan to implement node 20+ in a future version? (Speaking of, when's the next OpenSaas version coming out? 🙂 )
23 replies
WWasp
•Created by Kynetix on 10/23/2024 in #🙋questions
File is not defined
I use node v20.11.1.
23 replies
WWasp
•Created by Kynetix on 10/23/2024 in #🙋questions
File is not defined
Following Kapa's suggestion, I googled "node-file" and came across "formdata-node" with some sample code, so I tried it and it worked.
23 replies
WWasp
•Created by Kynetix on 10/23/2024 in #🙋questions
File is not defined
By the way, importing formdata-node solved the File issue.
23 replies
WWasp
•Created by Kynetix on 10/23/2024 in #🙋questions
File is not defined
Thanks @Vinny (@Wasp), I'll give it a shot.
Meanwhile, do you have a better way to implement it? The application is a document chatbot where the user uploads a file (Word doc, PDF, XLS, etc) and its content is read and stored in Supabase vector store.
23 replies
WWasp
•Created by otrojka on 6/29/2024 in #🙋questions
Dependency issue with fly.io server deploy
Has anyone been able to resolve that issue? I'm trying to deploy my OpenSaas app to Railway from my macbook, but when I run "railway up", I get the error "Error: Cannot find module '@node-rs/argon2-linux-x64-musl'"
14 replies
WWasp
•Created by Kynetix on 10/18/2024 in #🙋questions
PayloadTooLargeError
I'm not uploading the file to S3 - I just upload it so as to read it into Supabase, so no need to store it anywhere.
28 replies
WWasp
•Created by Kynetix on 10/18/2024 in #🙋questions
PayloadTooLargeError
Thanks again, @kapa.ai I've made the update and the " PayloadTooLargeError: request entity too large" error persists. Do I need to make any changes to the frontend or backend? Right now, the frontend calls an uploadDocument() function in the operations.ts, passing the file and metadata, etc.
28 replies
WWasp
•Created by Kynetix on 10/18/2024 in #🙋questions
PayloadTooLargeError
Thanks @kapa.ai that fixed it (the missing 'return'). However when I try to upload, I still get the PayloadTooLargeError. Is there a way to confirm that multer is correctly configured?
28 replies
WWasp
•Created by Kynetix on 10/18/2024 in #🙋questions
PayloadTooLargeError
@kapa.ai I've set it up as suggested, by adding the export const serverMiddlewareFn() to serverSetup.js, and adding it as a server:{} attribute in main.wasp. When I run it, I get the error " TypeError: Cannot read properties of undefined (reading 'values')" at globalMiddlewareConfigForExpress () in globalMiddleware.ts.
28 replies