https://starter.obytes.com/getting-started/environment-vars-config/ #263
Replies: 2 comments 12 replies
-
Env.NAME is undefined when use to build android |
Beta Was this translation helpful? Give feedback.
11 replies
-
I defined a number based env variable in the env.js, and assigned house: process.env.HOURS to the clientEnv object, then the pnpm ios fails with type error - cannot assign string to number, then when i convert the number like Number(process.env.HOURS) then the pre-commit fails with error cannot assign number to string, what can i do here? how to define a number variable ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://starter.obytes.com/getting-started/environment-vars-config/
Environment variables and configuration with validation and type-checking.
https://starter.obytes.com/getting-started/environment-vars-config/
Beta Was this translation helpful? Give feedback.
All reactions