Replies: 6 comments
-
Yes, technically you can add the environment setup to any project that uses the Expo prebuild system. "Unable to resolve module path" means you are trying to import the To resolve this, ensure you import your environment variables from let's me know if the issue still persist after those checks |
Beta Was this translation helpful? Give feedback.
-
i already make sure bunch of time if it was correct. i also tried to not use the alias but still no luck |
Beta Was this translation helpful? Give feedback.
-
Make sure you are starting the metro server without cache pnpm start -c |
Beta Was this translation helpful? Give feedback.
-
Had the same issue, Make sure you install https://www.npmjs.com/package/ts-node Also I removed it from 'env.js' Instead of: I used: I don't remember exactly the chain of issues, but I ended up adding this package and fixed it. |
Beta Was this translation helpful? Give feedback.
-
yes i did that |
Beta Was this translation helpful? Give feedback.
-
no luck for me :( |
Beta Was this translation helpful? Give feedback.
-
Summary:
I have an existing app that already running and i wanna replicate how this template manages the env. but i cant get it running. always fails on
Unable to resolve module path
. if i installed 'path' as dev deps it will shows another error because of dotenv doesnt work for react native (?)Steps to reproduce:
ran the build:staging script
Expected behavior:
successfully build and running
Additional notes:
Tasks
Beta Was this translation helpful? Give feedback.
All reactions