Using Hono
Hi. I am using Hono for my backend but i get an error
process is not defined
when trying to use session. I assume this is because its trying to get my env variables but Hono does not support process.env
3 Replies
have you tried to use https://www.npmjs.com/package/dotenv ?
im not familiar with hono but i also had process is not defined till i used it
npm
dotenv
Loads environment variables from .env file. Latest version: 16.4.5, last published: 8 months ago. Start using dotenv in your project by running
npm i dotenv
. There are 49941 other projects in the npm registry using dotenv.
working now thanks
Super