mm
WWasp
•Created by mm on 2/13/2025 in #đŸ™‹questions
Error when I installed puppeteer and turndown
thanks @Vinny (@Wasp) I will assess since maybe moving
requirenodeenv
will be easier for me since many of the utils exported from server/utils
makes use of the puppeteer. Will let you know which one works30 replies
WWasp
•Created by mm on 2/13/2025 in #đŸ™‹questions
Error when I installed puppeteer and turndown
I see for temp solution should I move
requireNodeEnvVar
from server/utils
then @Filip ? and import it separately. or move it to like client/utils
30 replies
WWasp
•Created by InsOp on 1/17/2025 in #đŸ™‹questions
Cannot find package 'vitest' imported from
this happened to me @InsOp @miho when I installed a custom package first before running wasp start in generate. I recreated a new project then wasp start first before making any custom changes. I used the db url btw.
12 replies
WWasp
•Created by mm on 2/13/2025 in #đŸ™‹questions
Error when I installed puppeteer and turndown
Here @Filip I just created a util in
app/src/server/utils.ts
using puppeteer
https://github.com/medardm/test-waspsaas30 replies
WWasp
•Created by mm on 2/13/2025 in #đŸ™‹questions
Error when I installed puppeteer and turndown
I just created a new project
30 replies
WWasp
•Created by mm on 2/13/2025 in #đŸ™‹questions
Error when I installed puppeteer and turndown
wait
30 replies
WWasp
•Created by mm on 2/13/2025 in #đŸ™‹questions
Error when I installed puppeteer and turndown
@miho @Filip is it okay to use puppeteer or any server side package under
app/src/server/utils.ts
?30 replies
WWasp
•Created by mm on 2/13/2025 in #đŸ™‹questions
Error when I installed puppeteer and turndown
yes @miho I created a separate util that utilizes puppeteer and export it from utils so that I only import from utils.ts
30 replies
WWasp
•Created by mm on 2/13/2025 in #đŸ™‹questions
Error when I installed puppeteer and turndown

30 replies
WWasp
•Created by mm on 2/13/2025 in #đŸ™‹questions
Error when I installed puppeteer and turndown
Np. I haven't fixed it yet tho. I really need puppeteer for this project. seems like a compilation issue it says when you build with vite? not sure
30 replies
WWasp
•Created by mm on 2/13/2025 in #đŸ™‹questions
Error when I installed puppeteer and turndown
upon narrowing it down puppeteer is causing it. found this github issue as well https://github.com/puppeteer/puppeteer/issues/11881
30 replies
WWasp
•Created by RichardHpa on 3/10/2024 in #đŸ™‹questions
Can I split up the main.wasp file into seperate files
Edit: I didn't read your message properly @genyus yeah it only works outside
/src
31 replies
WWasp
•Created by RichardHpa on 3/10/2024 in #đŸ™‹questions
Can I split up the main.wasp file into seperate files
glad to hear it works now @genyus.
31 replies
WWasp
•Created by RichardHpa on 3/10/2024 in #đŸ™‹questions
Can I split up the main.wasp file into seperate files
I started with making it work first using the main.wasp.ts. before I started splitting the code but up to you. you should start with the link @miho sent
31 replies
WWasp
•Created by RichardHpa on 3/10/2024 in #đŸ™‹questions
Can I split up the main.wasp file into seperate files

31 replies
WWasp
•Created by RichardHpa on 3/10/2024 in #đŸ™‹questions
Can I split up the main.wasp file into seperate files
Hi about what I said about exposing the App type, it's just in wasp-config lol my bad
`import { App } from "wasp-config" I will update the article. We can properly split the config in this case
31 replies
WWasp
•Created by RichardHpa on 3/10/2024 in #đŸ™‹questions
Can I split up the main.wasp file into seperate files
interesting. can you also send me the medium article? thanks!
31 replies
WWasp
•Created by RichardHpa on 3/10/2024 in #đŸ™‹questions
Can I split up the main.wasp file into seperate files
@RichardHpa @martinsos I recently decided to switch to the
.ts
version. and also searched for a solution. Then I came up with this: https://dev.to/medardm/splitting-wasp-ts-config-2iei Please let me know if it's not going to affect anything. Would be great also if you can expose a type for the App instance31 replies
WWasp
•Created by prof_mark on 8/23/2024 in #đŸ™‹questions
Payload too large
the problem was I added
setupFn: import {serverMiddlewareFn} from "@src/serverSetup",
while importing the same function as the middlewareConfigFn that's why middlewareConfigFn was not detected. it's being executed from setupFn
I guess37 replies
WWasp
•Created by prof_mark on 8/23/2024 in #đŸ™‹questions
Payload too large
Hi @miho @martinsos found the problem. I just removed the setupFn since I'm not using it. What customizations can I do with setupFn btw.
37 replies