-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
questionFurther information is requestedFurther information is requested
Description
What are you trying to accomplish? Please describe.
Helo, I'm building a carrier service, and I would like to know how to use environment variables in a NodeJs vtex-app.
What have you tried so far?
I tried to use dotenv, but with no success. I also tried to follow this tutorial, but also don't work.
Additional info
when I tried to do this:
const token = process.env.TOKEN
console.info(process.env)
console.info(`TOKEN: ${token}`)I received this message in my console:

| Account | Workspace |
|---|---|
stoneentregaspartnerbr |
local |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested