App errors because nodemailer
Hi everyone
Today I'm facing an error that I don't know how to solve it, already try to downgrade a few dependencies and didn't work.
Basically I setup renovate to update my dependencies and now my entire website is broken:
- icons isn't render;
- header isn't render the menus
And I'm totally out of ideas.
Could be related with last release of solid start?
10 Replies
These are the Pull Requests created by renovate
(the ones with red lines are related with sanity that are in the second "project" inside the monorepo)
I think I found the issue, I disable the SSR and ☝️
for works, I need to put the transport creation inside my action
any idea how I can do it in a separated file?
Any idea how I can do this in a specific file without crashing my app?
Sorry to keep pushing this, but anyone have an idea how I can fix/improve this?
Probably your env variables are undefined.
So may need to install dotenv and import it in the file where you create the transport.
But if I create the transporter inside the action works fine
What happens if you log the env to the console outside the action ?
Are the vars available?
The vars it's supposed to be working only on server side because I'm using
process.env
without VITE_
If I do:
works fine
but need to use as function to put the
use server
There you go 👍.