cmilazzo
cmilazzo
WWasp-lang
Created by cmilazzo on 11/17/2024 in #đŸ™‹questions
react-router-dom version
đŸ˜­
6 replies
WWasp-lang
Created by cmilazzo on 11/17/2024 in #đŸ™‹questions
react-router-dom version
:(.
6 replies
WWasp-lang
Created by cmilazzo on 10/15/2024 in #đŸ™‹questions
google auth
I figured out the issue. I had: userSignupFields: import { getGoogleUserFields } from "@src/auth/userSignupFields", configFn: import { getGoogleAuthConfig } from "@src/auth/userSignupFields", in my google authenticate spec in main.wasp.
31 replies
WWasp-lang
Created by cmilazzo on 10/15/2024 in #đŸ™‹questions
google auth
@kapa.ai Aren't the src/auth/... files automatically generated by wasp? If so, why would they be missing?
31 replies
WWasp-lang
Created by cmilazzo on 10/15/2024 in #đŸ™‹questions
google auth
@kapa.ai I added the environment variables, and am now seeing this error: "[ Server!] [!] RollupError: Could not resolve "../../../../../../../src/auth/userSignupFields" from "src/auth/providers/config/google.ts" [ Server!] src/auth/providers/config/google.ts [ Server!] at getRollupError (/Users/cmilazzo/Code Projects/Hatchery/.wasp/out/server/node_modules/rollup/dist/shared/parseAst.js:285:41) [ Server!] at Object.error (/Users/cmilazzo/Code Projects/Hatchery/.wasp/out/server/node_modules/rollup/dist/shared/parseAst.js:281:42) [ Server!] at ModuleLoader.handleInvalidResolvedId (/Users/cmilazzo/Code Projects/Hatchery/.wasp/out/server/node_modules/rollup/dist/shared/rollup.js:21167:36) [ Server!] at /Users/cmilazzo/Code Projects/Hatchery/.wasp/out/server/node_modules/rollup/dist/shared/rollup.js:21127:26 [ Server!] [ Server!] [ Server ] [nodemon] app crashed - waiting for file changes before starting..."
31 replies
WWasp-lang
Created by cmilazzo on 10/15/2024 in #đŸ™‹questions
google auth
@kapa.ai I tried using the google auth instructions from the doc, but ran into a "localhost refused to connect" error trying to access http://localhost:3001/auth/google/login when I click the "Login with Google" button
31 replies
WWasp-lang
Created by cmilazzo on 10/15/2024 in #đŸ™‹questions
google auth
Interestingly, I'm just now noticing that the ResetPasswordForm and ForgotPasswordForm code are also not present (i.e. <LoginForm/> results in the login form being shown on my page, but <ResetPasswordForm /> results in no code being entered. I'm wondering if this is related to the Mage app creation not including them somehow as well?
31 replies
WWasp-lang
Created by cmilazzo on 10/15/2024 in #đŸ™‹questions
google auth
@martinsos or @miho is there any advice you can give me on how to add the google auth to my project? I created my app using Mage, but didn't think to specify I needed Google authentication (actually, I didn't really know if I'd need it at the time). Do I need to copy some code from github?
31 replies
WWasp-lang
Created by cmilazzo on 10/15/2024 in #đŸ™‹questions
google auth
@kapa.ai Is there a way to add the Google auth components to an app that didn't have them built in? There is no Google.jsx file anywhere in my project!
31 replies
WWasp-lang
Created by cmilazzo on 10/15/2024 in #đŸ™‹questions
google auth
@kapa.ai I followed your instructions above, but now have this error: [ Client!] 3:56:48 PM [vite] Pre-transform error: Failed to resolve import "../forms/internal/social/SocialButton" from "../sdk/wasp/dist/auth/helpers/Google.jsx". Does the file exist? [ Client!] 3:56:48 PM [vite] Internal server error: Failed to resolve import "../forms/internal/social/SocialButton" from "../sdk/wasp/dist/auth/helpers/Google.jsx". Does the file exist?
31 replies
WWasp-lang
Created by cmilazzo on 10/10/2024 in #đŸ™‹questions
delete entity
@kapa.ai I get this error with that code: server/operations/actions/index.ts(87,7): error TS2353: Object literal may only specify known properties, and 'User' does not exist in type '{ File: FileDelegate<RejectOnNotFound | RejectPerOperation, DefaultArgs>; }'.
14 replies
WWasp-lang
Created by cmilazzo on 10/10/2024 in #đŸ™‹questions
delete entity
@kapa.ai Can you redefine the deleteFile function using typescript?
14 replies
WWasp-lang
Created by cmilazzo on 10/10/2024 in #đŸ™‹questions
primitive type returns in action
@kapa.ai. okay, that makes sense. My original action definition is: export const createFile: CreateFile<FileDescription, File> = async ({ fileType, name, bucket}, context) => {}. How would I change that to use the Output type you referenced?
13 replies
WWasp-lang
Created by cmilazzo on 10/10/2024 in #đŸ™‹questions
primitive type returns in action
@kapa.ai where does the type Output line you referenced above go? Is that in the main.wasp file?
13 replies
WWasp-lang
Created by cmilazzo on 10/4/2024 in #đŸ™‹questions
CORS issue on authentication
@kapa.ai how do I set up CORS on the API server?
9 replies
WWasp-lang
Created by cmilazzo on 9/29/2024 in #đŸ™‹questions
known issue with reloading web app?
Next time it happens I'll try to get more info....
25 replies
WWasp-lang
Created by cmilazzo on 9/29/2024 in #đŸ™‹questions
known issue with reloading web app?
This is happening on two separate machines as well... my mac and a Redhat linux machine
25 replies
WWasp-lang
Created by cmilazzo on 9/29/2024 in #đŸ™‹questions
known issue with reloading web app?
@martinsos There's nothing unusual in the console at all. No error messages or anything. It notices a file change and supposedly recompiles, but the changes never make it to the app. And of course it's intermittent so hard to tell when it will happen. Once it happens though, it won't pick up any new updated files.
25 replies
WWasp-lang
Created by Wlski on 9/5/2024 in #đŸ™‹questions
Nginx ssl certificates broke client/server communication?
@martinsos . I'm writing it up as I go, but I continue to run into complications, so as soon as everything is working perfectly I'll share that!
26 replies
WWasp-lang
Created by cmilazzo on 10/2/2024 in #đŸ™‹questions
wasp build
Thanks Miho!
14 replies