Skip to content

Cannot read property 'VERBOSE' of undefined #459

@CallMeLaNN

Description

@CallMeLaNN

Environment

System:
    OS: macOS High Sierra 10.13.6
    CPU: (4) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
    Memory: 74.30 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.15.3 - /var/folders/2p/7tk3gks933n7fdlrctbpnfpm0000gn/T/yarn--1562135127134-0.9994491099836789/node
    Yarn: 1.16.0 - /var/folders/2p/7tk3gks933n7fdlrctbpnfpm0000gn/T/yarn--1562135127134-0.9994491099836789/yarn
    npm: 6.9.2 - ~/.nvm/versions/node/v10.15.3/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    Android SDK:
      API Levels: 27, 28
      Build Tools: 27.0.3, 28.0.3
  IDEs:
    Android Studio: 3.2 AI-181.5540.7.32.5056338
    Xcode: 10.1/10B61 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.8.6 => 16.8.6 
    react-native: 0.60.0-rc.3 => 0.60.0-rc.3

Description

Cannot read property 'VERBOSE' of undefined

react-native log-android not working for RN 0.60 RC, tested in 0.60.0-rc.2 and 0.60.0-rc.3. It throw the error at this line:

minPriority: _logkitty().Priority.VERBOSE,

Priority has been changed to AndroidPriority in the recent patch release of logkitty@0.4.1 but we are using "^0.4.0". I think I can help on this one.

Reproducible Demo

react-native init testlog --version react-native@next && cd testlog
react-native log-android

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions