[Storybook-Native] undefined is not an object (evaluating '_expo.KeepAwake.activate')
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- react-native
- Lĩnh vực
- mobile
Hướng nghiên cứu
Bắt đầu với Storybook-Native AppEntry.js được đề cập trong issue và kiểm tra import KeepAwake cùng lệnh gọi kích hoạt. Tái hiện vấn đề bằng bluebase storybook-native:init rồi đến bluebase storybook-native:start; được xem là hoàn tất khi lệnh chạy thành công mà không có lỗi undefined KeepAwake.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
While running storybook-native undefined is not an object (evaluating '_expo.KeepAwake.activate') issue appears
Expected Behavior
bluebase storybook-native:start should run successfully.
Actual Behavior

Possible Fix
This issue is created due to storybook-native AppEntry.js its content should be,
import App from './../../bluebase/storybook-native/storybook';
import { activateKeepAwake } from 'expo-keep-awake';
import { registerRootComponent } from 'expo';
if (__DEV__) {
activateKeepAwake();
}
registerRootComponent(App);
Steps to Reproduce
- create a plugin
bluebase storybook-native:initbluebase storybook-native:start
Context
Screenshots
Your Environment
- Version used:
0.0.16 - Environment name and version (e.g. Chrome 39, node.js 5.4): node.js 10.16.3
- Operating System and version (desktop or mobile): Ubuntu 18
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của BlueBaseJS/cli
-
bug
BlueBaseJS/cli#111 · 1 người được giao ·
-
bug
BlueBaseJS/cli#110 · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
BlueBaseJS/cli#103 · 1 bình luận ·
-
bug
BlueBaseJS/cli#72 · 1 bình luận · 1 reaction · 1 người được giao ·
-
[Core] Autoupdater Đang mởenhancement good first issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
BlueBaseJS/cli#63 ·
Tất cả issue của BlueBaseJS/cli
Issue tương tự
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Mend: dependency security vulnerability untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100