#Site works in dev but does not in prod

8 messages · Page 1 of 1 (latest)

pallid ember
#

Hey when i run my app on dev it does work, but doesnt on prod - i get

Application error: a client-side exception has occurred (see the browser console for more information).
TypeError: e.slice is not a function
The only place i got slice function used is https://github.com/Style77/velluci/blob/master/src/app/page.tsx#LL17C1-L17C1

Whats wrong could someone check? Or tell me how do i debug that

GitHub

Contribute to Style77/velluci development by creating an account on GitHub.

fervent flint
#

If you can please mention me here, my friend posted it because i could not for some reason (discord shows me "could not post")

light valve
#

I think the problem has something to do with process.env.STRIPE_LIVE_API_KEY blob_thonkang

fervent flint
fervent flint
#

sure i will try that

fervent flint