haul: RN 0.49.3 crashed on Android

Hi.

I upgraded haul to 1.0.0-beta.6 due to breaking changes on iOS. Now, iOS is working fine, but Android will stop right after launching the app. When I change the version back to beta.5 everything works well on Android. On beta.6 I got messsage: GET /index.android.bundle 500 undefined - 4.247 ms

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 20 (11 by maintainers)

Most upvoted comments

Yes, I removed the app from my device by adb uninstall... and then I run haul and run app again.

Here is my package.json.

{
  "name": "App",
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "babel-eslint": "^8.0.1",
    "babel-jest": "^21.2.0",
    "babel-plugin-module-resolver": "^2.7.1",
    "babel-preset-react-native": "^4.0.0",
    "babel-preset-react-native-stage-0": "^1.0.1",
    "eslint": "^4.8.0",
    "eslint-config-dacz": "^0.13.3",
    "eslint-plugin-import": "^2.7.0",
    "eslint-plugin-jsx-a11y": "^6.0.2",
    "haul": "1.0.0-beta.6",
    "jest-expo": "^21.0.2",
    "prettier-eslint": "^8.2.0",
    "prop-types": "^15.6.0",
    "react-dom": "^16.0.0",
    "react-native-debugger-open": "0.3.15",
    "react-test-renderer": "16.0.0-beta.5",
    "reactotron-react-native": "^1.12.3"
  },
  "scripts": {
    "start": "react-native start",
    "android:dev": "cd android && ./gradlew installDebug",
    "android:prod": "react-native run-android --variant release",
    "ios": "react-native run-ios",
    "test": "node node_modules/jest/bin/jest.js --watch",
    "build:android": "haul bundle --platform android --entry-file index.android.js --bundle-output build/index.android.bundle --assets-dest build --dev false",
    "storybook": "storybook start -p 7007 --haul webpack.haul.storybook.js",
    "haul": "haul start"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "apollo-cache-inmemory": "0.2.0-rc.0",
    "apollo-client": "2.0.0-beta.4",
    "apollo-client-preset": "^0.1.0-1",
    "apollo-link": "0.7.0",
    "apollo-link-http": "0.6.1-beta.6",
    "apollo-link-set-context": "^0.6.1-beta.1",
    "graphql": "^0.11.4",
    "graphql-tag": "^2.4.2",
    "graphql-tools": "^2.2.1",
    "lottie-react-native": "2.2.7",
    "moment": "2.19.1",
    "ramda": "0.25.0",
    "react": "16.0.0-beta.5",
    "react-apollo": "^1.4.16",
    "react-native": "0.49.3",
    "react-native-android-statusbar": "^0.1.3",
    "react-native-calendars": "^1.7.1",
    "react-native-code-push": "5.1.3-beta",
    "react-native-config": "0.8.1",
    "react-native-elements": "^0.17.0",
    "react-native-i18n": "2.0.7",
    "react-native-platform-touchable": "^1.1.1",
    "react-native-splash-screen": "^3.0.1",
    "react-native-vector-icons": "4.4.2",
    "react-navigation": "^1.0.0-beta.13",
    "react-redux": "^5.0.6",
    "recompose": "0.26.0",
    "redux": "^3.7.2",
    "redux-thunk": "^2.2.0"
  }
}

Looked at package.json in RN package:

  "name": "react-native",
  "version": "0.49.3",