Giter Club home page Giter Club logo

Comments (8)

palingheorghe avatar palingheorghe commented on August 22, 2024 2

Hi! @PA55ION I'm talkin about all packages so they won't get any updates. @stephyswe & @PA55ION : As I can see the error still thinks you got @react-navigation installed, you should clear the cache by removing node_module, .expo and package-lock.json and then reinstall all the packages and start the project by using the following command: expo r -c which should reset the cache and make the project work again as intended.

Thanks,
Alin

from argon-react-native.

palingheorghe avatar palingheorghe commented on August 22, 2024 1

Hi @stephyswe ! Thank you for your interest in our products!
This is because of the new react-navigation changes. Doing a npm install right now is installing the latest versions instead of the versions we've written in our package.

Re-download the product and delete the "^" from package.json and then hit npm install. Things should work as intended now.

Thanks,
Alin

from argon-react-native.

bozzmob avatar bozzmob commented on August 22, 2024 1

@palingheorghe Thanks for the reply.
I tried what you suggested, I'm getting the following error-

Press ? to show a list of all available commands.
Logs for your project will appear below. Press Ctrl+C to exit.
Unable to resolve "./views/ThemeContext" from "node_modules/@react-navigation/core/lib/module/index.js"
Failed building JavaScript bundle.
Building JavaScript bundle [=================================================================================================== ] 99%

This is how my package.json looks like(not much changes except for "react-navigation": "3.11.0")-

{
  "name": "argon-react-native",
  "version": "1.3.0",
  "description": "Argon React Native, based on Argon Design System. Coded by Creative Tim",
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "eject": "expo eject"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/creativetimofficial/argon-react-native.git"
  },
  "dependencies": {
    "expo": "^35.0.0",
    "expo-asset": "~7.0.0",
    "expo-font": "~7.0.0",
    "galio-framework": "^0.6.3",
    "prop-types": "^15.7.2",
    "react": "16.8.3",
    "react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz",
    "react-native-gesture-handler": "~1.3.0",
    "react-native-modal-dropdown": "^0.6.2",
    "react-navigation": "3.11.0"
  },

from argon-react-native.

bozzmob avatar bozzmob commented on August 22, 2024 1

@palingheorghe Thanks. Yes, you were right, I had to remove node_module, .expo and package-lock.json and then everything worked as intended.

from argon-react-native.

PA55ION avatar PA55ION commented on August 22, 2024

@stephyswe Did you solve the issue? I got the same error that you were getting. @palingheorghe remove"^" from react-navigation? or react-navigation-stack?

from argon-react-native.

palingheorghe avatar palingheorghe commented on August 22, 2024

I'll close this issue based on the fact that this solution is working. Thank you everybody! ❤️

from argon-react-native.

triloconinja avatar triloconinja commented on August 22, 2024

Hi I'm still receiving an error undefined is not an object (evaluating '_reacNavigation. ThemeColors.light')

"dependencies": {
"expo": "^35.0.0",
"expo-asset": "^7.0.0",
"expo-font": "^7.0.0",
"galio-framework": "^0.6.3",
"prop-types": "^15.7.2",
"react": "16.8.3",
"react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz",
"react-native-gesture-handler": "~1.3.0",
"react-native-modal-dropdown": "^0.7.0",
"react-native-reanimated": "~1.2.0",
"react-native-svg": "^9.9.5",
"react-navigation": "3.9.0",
"react-navigation-drawer": "^2.3.1",
"react-navigation-stack": "^1.9.4",
"react-navigation-tabs": "^2.5.6"
},

from argon-react-native.

palingheorghe avatar palingheorghe commented on August 22, 2024

Hi @triloconinja ! Could you please give us more information regarding your issue? I don't think it's related to this one so the best thing would be opening up a new issue with more information about your error.

Thanks

from argon-react-native.

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.