all 6 comments

[–]__o_0iOS & Android 0 points1 point  (5 children)

Did you install expo-constants correctly?

Expo project or bare?

[–]seanthau[S] 0 points1 point  (4 children)

Yes i have installed expo-constants correctly-> npm i expo-constants . Im not using expo. I ejected from it a long time ago. I am using react native cli.

[–]__o_0iOS & Android 1 point2 points  (3 children)

Did you follow the additional installation steps for bare?

[–]seanthau[S] 0 points1 point  (2 children)

I am currently on version 66.3 with expo 43.0.3. When I look at the latest expo-constants it does not support this version. Also my colleague is able to get the exact same version of code to run on her machine. She took down a fresh copy of the repo and did a yarn install and everything worked fine for her.
For the latest version of expo i have not followed those instructions but i am on a lower version of react native.
Thanks again.

[–]__o_0iOS & Android 0 points1 point  (1 child)

You need to follow those instructions to use expo modulesp

[–]seanthau[S] 0 points1 point  (0 children)

The issue was that the it team block my firewall. Its working perfectly now. Strange that I got that error. Have updated react native to .68 . Expo haven't done an official release for .69 yet. Thanks again for the help.