aksonov / aksonov/react-native-router-flux

Fail to expo start due to Attempted import error:

Đang mở
#3,582 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
8.9k
Fork
2.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Version
"dependencies": {
"expo": "^35.0.0",
"react": "16.8.3",
"react-dom": "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-reanimated": "~1.2.0",
"react-native-router-flux": "4.2.0-beta.2",
"react-native-screens": "~1.0.0-alpha.23",
"react-native-web": "^0.11.7",
"react-navigation": "^4.0.10"
},

### Expected behaviour
The project is built by:
expo init new
cd new
yarn add react-navigation react-native-gesture-handler react-native-reanimated react-native-screens
yarn add react-native-router-flux@4.2.0-beta.2
Adding code in App.js and add components folder
expo start

Sample Code:
Please download from it
https://github.com/jackhts4/react-native-router

### Actual behaviour
I can expo start the application, but none of the buttons are working, The actions function is not called and the component is not rendered.

There is also error in the terminal:
web Compiled with warnings.
C:/Users/Desktop/project/testing/node_modules/react-native-router-flux/src/navigationStore.js
Attempted import error: 'POP_AND_PUSH' is not exported from './ActionConst' (imported as 'ActionConst').

### Steps to reproduce
above

### Reproducible Demo
above

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.