akveo / react-native-ui-kitten

:boom: React Native UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/react-native-ui-kitten/
MIT License
10.28k stars 951 forks source link

Unable to resolve module `./drawer` #670

Closed yogevlahyani closed 4 years ago

yogevlahyani commented 4 years ago

Issue type

I'm submitting a ... (check one with "x")

Issue description

Current behavior: After upgrade react-native to 0.61.2 I'm getting this error: image

Expected behavior: I didn't find anywhere an import or usage of drawerFence.component

Steps to reproduce: Create a new react-native app using react-native CLI (Not expo) and install react-native-ui-kitten as mentioned in the docs

Related code: No code, just the initial boilerplate

Other information:

OS, device, package version IOS, iPhone 11 simulator

package.json dependencies:

"dependencies": {
    "@eva-design/eva": "^1.2.0",
    "react": "16.9.0",
    "react-native": "0.61.2",
    "react-native-svg": "^9.11.1",
    "react-native-ui-kitten": "^4.2.0"
  },
  "devDependencies": {
    "@babel/core": "^7.6.4",
    "@babel/runtime": "^7.6.3",
    "@react-native-community/eslint-config": "^0.0.5",
    "babel-jest": "^24.9.0",
    "eslint": "^6.5.1",
    "jest": "^24.9.0",
    "metro-react-native-babel-preset": "^0.56.0",
    "react-test-renderer": "16.9.0"
  },
yogevlahyani commented 4 years ago

FYI -> ran react-native start --reset-cache and it fixed it, still interesting why this happened

artyorsh commented 4 years ago

That's what I personally facing too from time to time. I guess this issue belongs to cli Anyway, thanks for reporting it was resolved