Git Product home page Git Product logo

Comments (7)

indriks avatar indriks commented on June 2, 2024 10

After updating expo you have change 3 lines:
In file /src/native/index.js change to this:
Line 3 import * as Font from 'expo-font'
Line 29 Roboto: require('../../node_modules/native-base/Fonts/Roboto.ttf'),
Line 30 Roboto_medium: require('../../node_modules/native-base/Fonts/Roboto_medium.ttf'),
Line 31 Ionicons: require('../../node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Ionicons.ttf'),

from react-native-starter-kit.

nhaancs avatar nhaancs commented on June 2, 2024 2

Thanks @indriks, you save my day :D

from react-native-starter-kit.

nhaancs avatar nhaancs commented on June 2, 2024

yes, having a problem with expo too
do you know the quick fix @indriks ?

from react-native-starter-kit.

n3rd253 avatar n3rd253 commented on June 2, 2024

@indriks

After making your changes suggested above, expo now runs the app as you'd expect, however

Finished building JavaScript bundle in 17046ms.
Running application on iPhone 11.

redux-persist failed to create sync storage. falling back to noop storage.

  • node_modules/expo/build/environment/muteWarnings.fx.js:27:24 in error
  • node_modules/redux-persist/es/storage/getStorage.js:34:20 in getStorage
  • node_modules/redux-persist/es/storage/createWebStorage.js:3:27 in createWebStorage
  • node_modules/redux-persist/es/storage/index.js:2:32 in
  • node_modules/metro/src/lib/polyfills/require.js:331:6 in loadModuleImplementation
  • src/store/index.js:5:0 in
  • node_modules/metro/src/lib/polyfills/require.js:331:6 in loadModuleImplementation
  • App.js:3:0 in
  • node_modules/metro/src/lib/polyfills/require.js:331:6 in loadModuleImplementation
  • node_modules/expo/AppEntry.js:5:0 in
  • node_modules/metro/src/lib/polyfills/require.js:331:6 in loadModuleImplementation
  • node_modules/metro/src/lib/polyfills/require.js:197:45 in guardedLoadModule
  • null:null in global code

Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s, the componentWillUnmount method,
in App (at App.js:8)
in App (at withExpoRoot.js:26)
in RootErrorBoundary (at withExpoRoot.js:25)
in ExpoRoot (at renderApplication.js:35)
in RCTView (at View.js:45)
in View (at AppContainer.js:98)
in DevAppContainer (at AppContainer.js:112)
in RCTView (at View.js:45)
in View (at AppContainer.js:115)
in AppContainer (at renderApplication.js:34)

  • node_modules/expo/build/environment/muteWarnings.fx.js:27:24 in error
  • node_modules/react-native/Libraries/Renderer/oss/ReactNativeRenderer-dev.js:638:36 in warningWithoutStack
  • node_modules/react-native/Libraries/Renderer/oss/ReactNativeRenderer-dev.js:16356:6 in warnAboutUpdateOnUnmounted
  • node_modules/react-native/Libraries/Renderer/oss/ReactNativeRenderer-dev.js:17937:37 in scheduleWork
  • node_modules/react-native/Libraries/Renderer/oss/ReactNativeRenderer-dev.js:6934:17 in enqueueSetState
  • node_modules/react/cjs/react.development.js:325:31 in
  • src/native/index.js:34:18 in componentWillMount$
  • node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.js:45:44 in tryCatch
  • node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.js:271:30 in invoke
  • ... 13 more stack frames from framework internals

Have you also run in to this? I ran into this on Mac OS from a clean clone and just making your suggested updates above after running npm-check-updates -u and then npm install (updating Expo and other npm dependencies)

Prior to running npm-check-updates I was getting several issues just running npm install.

Should expo be the only npm dependency that is upgraded?

from react-native-starter-kit.

indriks avatar indriks commented on June 2, 2024

@n3rd253 I have not tried to upgrade all dependencies. Have you tried to upgrade one by one to see what causing the problem?

from react-native-starter-kit.

codaabraham avatar codaabraham commented on June 2, 2024

Now getting this:

Unable to resolve "firebase" from "src/lib/firebase.js"
Failed building JavaScript bundle.

from react-native-starter-kit.

mcnamee avatar mcnamee commented on June 2, 2024

The demo been updated at https://expo.io/@mcnamee/react-native-starter-kit

from react-native-starter-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.