Comments (8)
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.
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.
@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.
@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.
@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.
I'll close this issue based on the fact that this solution is working. Thank you everybody! ❤️
from argon-react-native.
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.
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)
- Can't resolve 'react-native-web/dist/exports/ActivityIndicator' HOT 27
- Using with version expo 36 HOT 1
- Only an empty screen is rendered HOT 4
- Using React-Native modal throws error HOT 1
- Setting the web or ios env HOT 2
- Issue starting up project locally HOT 4
- Error ./Link not resolved on initial startup HOT 1
- Duplicate resource error with signed bundle generation - Android Studio HOT 2
- Invariant Violation: Tried to register two views with the same name RNCSafeAreaProvider
- [Bug] Error: Invalid hook call HOT 3
- Errors when trying to get up and running HOT 1
- cant run argon-react-native have issues HOT 1
- Error 'Unexpected token' on static keyword HOT 4
- Unable to resolve module expo-modules-core / TypeError: undefined is not an object HOT 1
- [ARGON-REACT] - No access to Documentation
- buttons in the header not working good and not display good the profile interface HOT 1
- Header elements misaligned on Android
- Invariant Violation: requireNativeComponent: "GestureHandlerRootView" was not found in the UIManager.
- npm install error HOT 3
- How to Add Submenu
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argon-react-native.