かぐら
WWasp-lang
•Created by かぐら on 7/23/2024 in #🙋questions
[ Server!] NotFoundError: No DailyStats found
gettings this error, but i dont know if it is the same as https://discord.com/channels/686873244791210014/1253731262930223125 ?
Did everything on this list :
Got it now, there were three things:
I had to use const PRIVATE_KEY = JSON.parse(Buffer.from(process.env.GOOGLE_ANALYTICS_PRIVATE_KEY!, "base64").toString().replace(/\n/g,"")) as per this comment
I was encoding with single quotation marks, it should be echo -n ""-----BEGIN PRIVATE KEY---(...)"" | base64
I had to enable the Google Analytics Data API in Google Console
and no luck.. is this something else ?
[ Server!] NotFoundError: No DailyStats found
[ Server!] at /home/lk/mr/mr/app/node_modules/@prisma/client/runtime/library.js:162:12389
[ Server!] at async /home/lk/mr/mr/app/node_modules/@prisma/client/runtime/library.js:162:12328
[ Server!] at getDailyStats$2 (/home/lk/mr/mr/app/src/analytics/operations.ts:18:22)
[ Server!] at <anonymous> (/home/lk/mr/mr/app/.wasp/out/server/src/middleware/operations.ts:14:24)
[ Server!] at <anonymous> (/home/lk/mr/mr/app/.wasp/out/sdk/wasp/server/utils.ts:26:5)
Using GA not Plausible
11 replies
WWasp-lang
•Created by かぐら on 6/16/2023 in #🙋questions
Help with Login/Signup/Email Verify Language [Localization]
I need to translate those mentioned above.
How i would do it ? is there a way ?
Or do i have to edit the root components inside Wasp. for example Auth.tsx?
Talking about translating them to Spanish
Im using Wasp for learning React and TailwindCSS so im like 20% newbie
5 replies