Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Storybook-Native] undefined is not an object (evaluating '_expo.KeepAwake.activate')

オープン
#104 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
react-native
領域
mobile

調査の方向性

issueで言及されているStorybook-Native AppEntry.jsから始め、KeepAwakeのimportと有効化の呼び出しを確認します。bluebase storybook-native:initに続けてbluebase storybook-native:startを実行して問題を再現します。コマンドがundefined KeepAwakeエラーなしで正常に実行されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

keep

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

  1. create a plugin
  2. bluebase storybook-native:init
  3. bluebase 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
主要言語
TypeScript
スター
1
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

BlueBaseJS/cli のほかの issue

BlueBaseJS/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。