Zuck
WWasp-lang
•Created by Zuck on 9/27/2024 in #đŸ™‹questions
WASP App Wont Load Without Restarting Computer
@sodic I’ll let you know, it’s still being weird but I think it has to do with something with the ports being used. Sometimes it’s good sometimes it isn’t, sometimes I have to change the port in vite a few times.
But I’ll let you know if it becomes really worrisome
37 replies
WWasp-lang
•Created by Zuck on 9/27/2024 in #đŸ™‹questions
WASP App Wont Load Without Restarting Computer
@kapa.ai i love you
37 replies
WWasp-lang
•Created by Zuck on 9/27/2024 in #đŸ™‹questions
WASP App Wont Load Without Restarting Computer
@kapa.ai oh last thing because im lazy to look it up, how can i change my wasp app to use a different front end port rather than 3000
37 replies
WWasp-lang
•Created by Zuck on 9/27/2024 in #đŸ™‹questions
WASP App Wont Load Without Restarting Computer
@kapa.ai FIXED :godfatherboi:
37 replies
WWasp-lang
•Created by Zuck on 9/27/2024 in #đŸ™‹questions
WASP App Wont Load Without Restarting Computer
@kapa.ai whats the exact kill commands to kill everything that uses port 3000 and 3001
37 replies
WWasp-lang
•Created by Zuck on 9/27/2024 in #đŸ™‹questions
WASP App Wont Load Without Restarting Computer
@kapa.ai i got this:
(env) jacobferrari@Go-Laptop app % lsof -i tcp:3000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
com.apple 2813 jacobferrari 16u IPv4 0xd170b6bac663c21f 0t0 TCP localhost:50868->localhost:hbci (ESTABLISHED)
Google 3250 jacobferrari 38u IPv4 0x6252aacbad777cb 0t0 TCP localhost:51117->localhost:hbci (ESTABLISHED)
Cursor 4694 jacobferrari 49u IPv4 0x850bab61dcd00540 0t0 TCP localhost:hbci (LISTEN)
Cursor 4694 jacobferrari 50u IPv4 0x9eaf40a9d0bfb7c5 0t0 TCP localhost:hbci->localhost:50868 (ESTABLISHED)
Cursor 4694 jacobferrari 51u IPv4 0xd0f1efd34f85cf6f 0t0 TCP localhost:hbci->localhost:51117 (ESTABLISHED)
37 replies
WWasp-lang
•Created by Zuck on 9/27/2024 in #đŸ™‹questions
WASP App Wont Load Without Restarting Computer
@kapa.ai hmm nevermind it stopped working again. Whats the command to check what ports are being used? would that be it?
37 replies
WWasp-lang
•Created by Zuck on 9/27/2024 in #đŸ™‹questions
WASP App Wont Load Without Restarting Computer
Ah okay i think its solved, i think it was because i had a redis server running
37 replies
WWasp-lang
•Created by Zuck on 9/27/2024 in #đŸ™‹questions
WASP App Wont Load Without Restarting Computer
@kapa.ai No restarting the database doesnt do anything, closing docker re-opening docker doesnt do anything either
37 replies
WWasp-lang
•Created by Zuck on 9/6/2024 in #đŸ™‹questions
Creating DMG file with Electron?
@iRazvan2745 true! Haha I’m just experimenting
11 replies
WWasp-lang
•Created by Zuck on 8/29/2024 in #đŸ™‹questions
Outside of Vite service allow list
@miho I'm not using fontsource, but if add this part should things be good?
export default defineConfig({
server: {
open: true,
fs: {
allow: [
// Keeping the original behaviour how Vite searches for the workspace root
// https://vitejs.dev/config/server-options#server-fs-allow
searchForWorkspaceRoot(process.cwd()),
36 replies
WWasp-lang
•Created by devrim on 8/29/2024 in #đŸ™‹questions
my cursor ide broke something, i have no idea how to fix it.
8 replies
WWasp-lang
•Created by Zuck on 8/29/2024 in #đŸ™‹questions
Outside of Vite service allow list
--
Okay i fixed it but idk if this will screw me up in the future.
I changed my vite config to this:
import { defineConfig } from 'vite'
import { resolveProjectPath } from 'wasp/dev'
export default defineConfig({
resolve: {
alias: {
'@': resolveProjectPath('src'),
},
},
server: {
fs: {
allow: [
resolveProjectPath('.'),
resolveProjectPath('node_modules'),
// Add any other necessary paths here
]
}
}
})
and I added this to tsconfig.json:
"baseUrl": ".",
"paths": {
"@/": ["src/"]
}
}
36 replies
WWasp-lang
•Created by Zuck on 8/29/2024 in #đŸ™‹questions
Outside of Vite service allow list
Super weird... let me know if anyone can help on this i'm getting stuff like this:
[ Client!] The request url "/users/jacobferrari/documents/waspapp/my-saas/app/.wasp/out/sdk/wasp/dist/auth/forms/internal/email/useemail.js" is outside of Vite serving allow list.
[ Client!] The request url "/users/jacobferrari/documents/waspapp/my-saas/app/.wasp/out/sdk/wasp/dist/auth/email/actions/login.js" is outside of Vite serving allow list.
[ Client!] The request url "/users/jacobferrari/documents/waspapp/my-saas/app/.wasp/out/sdk/wasp/dist/auth/forms/internal/common/loginsignupform.jsx" is outside of Vite serving allow list.
[ Client!] The request url "/users/jacobferrari/documents/waspapp/my-saas/app/.wasp/out/sdk/wasp/dist/auth/forms/internal/email/useemail.js" is outside of Vite serving allow list.
[ Client!] The request url "/users/jacobferrari/documents/waspapp/my-saas/app/.wasp/out/sdk/wasp/dist/auth/email/actions/login.js" is outside of Vite serving allow list.
[ Client!] The request url "/users/jacobferrari/documents/waspapp/my-saas/app/.wasp/out/sdk/wasp/dist/auth/forms/internal/common/loginsignupform.jsx" is outside of Vite serving allow list.
even after a wasp clean.
My app works fine, just getting those errors randomly
36 replies
WWasp-lang
•Created by Zuck on 8/29/2024 in #đŸ™‹questions
Outside of Vite service allow list
@kapa.ai the weird thing is its happening for basically every page and happens randomly usually the first time i access the page.
36 replies