Skip to content

App.js: Cannot read property 'filename' of undefined after update sdk to 31.0.0 #2576

@x86kernel

Description

@x86kernel

Hi, after update sdk version to 31.0.0, i got this error when running App

App.js: Cannot read property 'filename' of undefined

My 'react-native info':

 React Native Environment Info:
    System:
      OS: Linux 4.18 Arch Linux undefined
      CPU: x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
      Memory: 609.35 MB / 15.53 GB
      Shell: 2.7.1 - /usr/bin/fish
    Binaries:
      Node: 11.1.0 - /usr/bin/node
      Yarn: 1.12.1 - /usr/bin/yarn
      npm: 6.4.1 - /usr/bin/npm
    SDKs:
      Android SDK:
        Build Tools: 23.0.1, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.1, 28.0.2
        API Levels: 23, 24, 25, 26, 27, 28
    IDEs:
      Android Studio: 3.1
    npmPackages:
      react: 16.5.0 => 16.5.0 
      react-native: https://github.com/expo/react-native/archive/sdk-31.0.1.tar.gz => 0.57.1 
    npmGlobalPackages:
      create-react-native-app: 1.0.0
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7

My 'package.json':

{
  "name": "xxxxxxxx",
  "version": "1.0.0",
  "private": true,
  "devDependencies": {
    "jest-expo": "^31.0.0",
    "react-native-scripts": "2.0.1",
    "react-test-renderer": "16.4.2",
    "reactotron-react-native": "^2.1.0",
    "reactotron-redux": "^2.1.0",
    "reactotron-redux-saga": "^2.1.0",
    "url": "^0.11.0"
  },
  "main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
  "scripts": {
    "start": "react-native-scripts start",
    "eject": "react-native-scripts eject",
    "android": "react-native-scripts android",
    "ios": "react-native-scripts ios",
    "test": "jest"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "@expo/vector-icons": "^8.0.0",
    "axios": "^0.18.0",
    "expo": "^31.0.0",
    "immutability-helper": "^2.8.1",
    "moment": "^2.22.2",
    "native-base": "^2.8.1",
    "qs": "^6.5.2",
    "react": "16.5.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-31.0.1.tar.gz",
    "react-native-collapsible": "^1.3.0",
    "react-native-extended-stylesheet": "^0.10.0",
    "react-native-indicators": "^0.13.0",
    "react-native-iphone-x-helper": "^1.2.0",
    "react-native-masked-text": "^1.9.2",
    "react-native-modal": "^6.5.0",
    "react-native-modal-datetime-picker": "^6.0.0",
    "react-native-modal-dropdown": "^0.6.2",
    "react-native-slider": "^0.11.0",
    "react-native-snap-carousel": "^3.7.5",
    "react-native-touchable-scale": "^2.0.0",
    "react-navigation": "^2.18.2",
    "react-navigation-fluid-transitions": "^0.2.72",
    "react-redux": "^5.1.0",
    "redux": "^4.0.1",
    "redux-saga": "^0.16.2",
    "styled-components": "^3.4.10",
    "tcomb-form-native": "https://github.com/x86kernel/tcomb-form-native#feat/add-supporting-label-type"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions