You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get access to env variables to packages/checkout-storefront but unable to load them, I've tried creating .env file in the directory, envs are not being read from there, tried importing 'env-vars' package but I get the following error:
I've tried installing fs in checkout-storefront, I've also added the --require env-vars in the NODE_OPTIONS in package.json of checkout-storefront but without any luck. Any tips or solutions would be of a great help
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to get access to env variables to packages/checkout-storefront but unable to load them, I've tried creating .env file in the directory, envs are not being read from there, tried importing 'env-vars' package but I get the following error:
I've tried installing fs in checkout-storefront, I've also added the --require env-vars in the NODE_OPTIONS in package.json of checkout-storefront but without any luck. Any tips or solutions would be of a great help
Beta Was this translation helpful? Give feedback.
All reactions