Unable to resolve module 'expo-font.js'





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I'm working with expo and snack and keep getting this error




Unable to resolve module 'module://expo-font.js' Evaluating module://expo-font.js Evaluating module://react-native-elements.js
...




I'm not importing any fonts and by tracing the path above, can see that it faults in the 'react-native-elements' module



Here are the dependencies in package.json



"react-native-elements": "0.19.1",
"react-navigation": "1.0.0-beta.27",
"react-native-animatable": "1.3.0",
"react-redux": "5.0.7",
"redux": "4.0.0",
"redux-logger": "3.0.6",
"redux-persist": "5.10.0",
"redux-persist/lib/storage": "5.10.0"


I also do not have access to the App.json file on snack until export



In the past changing the react-native-elements version to something lower hacked it but that doesn't seem to do the job anymore










share|improve this question





























    0















    I'm working with expo and snack and keep getting this error




    Unable to resolve module 'module://expo-font.js' Evaluating module://expo-font.js Evaluating module://react-native-elements.js
    ...




    I'm not importing any fonts and by tracing the path above, can see that it faults in the 'react-native-elements' module



    Here are the dependencies in package.json



    "react-native-elements": "0.19.1",
    "react-navigation": "1.0.0-beta.27",
    "react-native-animatable": "1.3.0",
    "react-redux": "5.0.7",
    "redux": "4.0.0",
    "redux-logger": "3.0.6",
    "redux-persist": "5.10.0",
    "redux-persist/lib/storage": "5.10.0"


    I also do not have access to the App.json file on snack until export



    In the past changing the react-native-elements version to something lower hacked it but that doesn't seem to do the job anymore










    share|improve this question

























      0












      0








      0








      I'm working with expo and snack and keep getting this error




      Unable to resolve module 'module://expo-font.js' Evaluating module://expo-font.js Evaluating module://react-native-elements.js
      ...




      I'm not importing any fonts and by tracing the path above, can see that it faults in the 'react-native-elements' module



      Here are the dependencies in package.json



      "react-native-elements": "0.19.1",
      "react-navigation": "1.0.0-beta.27",
      "react-native-animatable": "1.3.0",
      "react-redux": "5.0.7",
      "redux": "4.0.0",
      "redux-logger": "3.0.6",
      "redux-persist": "5.10.0",
      "redux-persist/lib/storage": "5.10.0"


      I also do not have access to the App.json file on snack until export



      In the past changing the react-native-elements version to something lower hacked it but that doesn't seem to do the job anymore










      share|improve this question














      I'm working with expo and snack and keep getting this error




      Unable to resolve module 'module://expo-font.js' Evaluating module://expo-font.js Evaluating module://react-native-elements.js
      ...




      I'm not importing any fonts and by tracing the path above, can see that it faults in the 'react-native-elements' module



      Here are the dependencies in package.json



      "react-native-elements": "0.19.1",
      "react-navigation": "1.0.0-beta.27",
      "react-native-animatable": "1.3.0",
      "react-redux": "5.0.7",
      "redux": "4.0.0",
      "redux-logger": "3.0.6",
      "redux-persist": "5.10.0",
      "redux-persist/lib/storage": "5.10.0"


      I also do not have access to the App.json file on snack until export



      In the past changing the react-native-elements version to something lower hacked it but that doesn't seem to do the job anymore







      javascript reactjs react-native expo






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 16 '18 at 11:43









      Ebong AndrewEbong Andrew

      113




      113
























          3 Answers
          3






          active

          oldest

          votes


















          1














          I randomly receive this issue all the time. Unfortunately, I have not been able to resolve the issue through extensive searching. However, If you create a new snack, then copy and paste your code directly into the new snack, your project will work just fine. No need to keep attempting to debug it.



          EDIT
          The issue is with when importing React-Native-Elements 0.19.1. I'm not sure why.






          share|improve this answer

































            1














            I solved it by importing "expo-font"






            share|improve this answer































              0














              In the Expo interface, I updated package.json I did this and it works.The key is to add "expo-font":"^1.0.0". Behind the scenes it resolves to expo-font@1.1.0.



              "dependencies": {
              "@babel/core": "^7.0.0",
              "react-native-elements": "^1.0.0-beta7",
              "expo-font": "^1.0.0",
              "expo-asset": "~1.1.1",
              "expo-file-system": "~1.1.0",
              "expo-constants": "~1.1.0"
              }





              share|improve this answer
























                Your Answer






                StackExchange.ifUsing("editor", function () {
                StackExchange.using("externalEditor", function () {
                StackExchange.using("snippets", function () {
                StackExchange.snippets.init();
                });
                });
                }, "code-snippets");

                StackExchange.ready(function() {
                var channelOptions = {
                tags: "".split(" "),
                id: "1"
                };
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function() {
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled) {
                StackExchange.using("snippets", function() {
                createEditor();
                });
                }
                else {
                createEditor();
                }
                });

                function createEditor() {
                StackExchange.prepareEditor({
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: true,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: 10,
                bindNavPrevention: true,
                postfix: "",
                imageUploader: {
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                },
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                });


                }
                });














                draft saved

                draft discarded


















                StackExchange.ready(
                function () {
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53337200%2funable-to-resolve-module-expo-font-js%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                1














                I randomly receive this issue all the time. Unfortunately, I have not been able to resolve the issue through extensive searching. However, If you create a new snack, then copy and paste your code directly into the new snack, your project will work just fine. No need to keep attempting to debug it.



                EDIT
                The issue is with when importing React-Native-Elements 0.19.1. I'm not sure why.






                share|improve this answer






























                  1














                  I randomly receive this issue all the time. Unfortunately, I have not been able to resolve the issue through extensive searching. However, If you create a new snack, then copy and paste your code directly into the new snack, your project will work just fine. No need to keep attempting to debug it.



                  EDIT
                  The issue is with when importing React-Native-Elements 0.19.1. I'm not sure why.






                  share|improve this answer




























                    1












                    1








                    1







                    I randomly receive this issue all the time. Unfortunately, I have not been able to resolve the issue through extensive searching. However, If you create a new snack, then copy and paste your code directly into the new snack, your project will work just fine. No need to keep attempting to debug it.



                    EDIT
                    The issue is with when importing React-Native-Elements 0.19.1. I'm not sure why.






                    share|improve this answer















                    I randomly receive this issue all the time. Unfortunately, I have not been able to resolve the issue through extensive searching. However, If you create a new snack, then copy and paste your code directly into the new snack, your project will work just fine. No need to keep attempting to debug it.



                    EDIT
                    The issue is with when importing React-Native-Elements 0.19.1. I'm not sure why.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Dec 19 '18 at 19:04

























                    answered Dec 6 '18 at 2:49









                    Lucas FreyLucas Frey

                    112




                    112

























                        1














                        I solved it by importing "expo-font"






                        share|improve this answer




























                          1














                          I solved it by importing "expo-font"






                          share|improve this answer


























                            1












                            1








                            1







                            I solved it by importing "expo-font"






                            share|improve this answer













                            I solved it by importing "expo-font"







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Jan 7 at 15:07









                            Ebong AndrewEbong Andrew

                            113




                            113























                                0














                                In the Expo interface, I updated package.json I did this and it works.The key is to add "expo-font":"^1.0.0". Behind the scenes it resolves to expo-font@1.1.0.



                                "dependencies": {
                                "@babel/core": "^7.0.0",
                                "react-native-elements": "^1.0.0-beta7",
                                "expo-font": "^1.0.0",
                                "expo-asset": "~1.1.1",
                                "expo-file-system": "~1.1.0",
                                "expo-constants": "~1.1.0"
                                }





                                share|improve this answer




























                                  0














                                  In the Expo interface, I updated package.json I did this and it works.The key is to add "expo-font":"^1.0.0". Behind the scenes it resolves to expo-font@1.1.0.



                                  "dependencies": {
                                  "@babel/core": "^7.0.0",
                                  "react-native-elements": "^1.0.0-beta7",
                                  "expo-font": "^1.0.0",
                                  "expo-asset": "~1.1.1",
                                  "expo-file-system": "~1.1.0",
                                  "expo-constants": "~1.1.0"
                                  }





                                  share|improve this answer


























                                    0












                                    0








                                    0







                                    In the Expo interface, I updated package.json I did this and it works.The key is to add "expo-font":"^1.0.0". Behind the scenes it resolves to expo-font@1.1.0.



                                    "dependencies": {
                                    "@babel/core": "^7.0.0",
                                    "react-native-elements": "^1.0.0-beta7",
                                    "expo-font": "^1.0.0",
                                    "expo-asset": "~1.1.1",
                                    "expo-file-system": "~1.1.0",
                                    "expo-constants": "~1.1.0"
                                    }





                                    share|improve this answer













                                    In the Expo interface, I updated package.json I did this and it works.The key is to add "expo-font":"^1.0.0". Behind the scenes it resolves to expo-font@1.1.0.



                                    "dependencies": {
                                    "@babel/core": "^7.0.0",
                                    "react-native-elements": "^1.0.0-beta7",
                                    "expo-font": "^1.0.0",
                                    "expo-asset": "~1.1.1",
                                    "expo-file-system": "~1.1.0",
                                    "expo-constants": "~1.1.0"
                                    }






                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Jan 19 at 23:50









                                    Charles OwenCharles Owen

                                    70367




                                    70367






























                                        draft saved

                                        draft discarded




















































                                        Thanks for contributing an answer to Stack Overflow!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid



                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.


                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function () {
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53337200%2funable-to-resolve-module-expo-font-js%23new-answer', 'question_page');
                                        }
                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        Florida Star v. B. J. F.

                                        Danny Elfman

                                        Retrieve a Users Dashboard in Tumblr with R and TumblR. Oauth Issues