Skip to content

React Native app crashes when try to import  #171

@bilalswiftsolutions

Description

@bilalswiftsolutions

I am try to use relational-pouch in my react native project but my application crashes when I write import statement

import rel from "relational-pouch";

this is my react native package.json

{
  "name": "siloc-react-native",
  "version": "1.0.0",
  "main": "index.js",
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@craftzdog/pouchdb-collate-react-native": "^7.3.0",
    "@react-native-async-storage/async-storage": "^1.17.11",
    "@react-native-community/blur": "^4.3.0",
    "@react-native-community/masked-view": "^0.1.11",
    "@react-native-community/netinfo": "9.3.7",
    "@react-navigation/bottom-tabs": "^6.5.7",
    "@react-navigation/drawer": "^6.6.2",
    "@react-navigation/material-bottom-tabs": "^6.2.15",
    "@react-navigation/native": "^6.1.6",
    "@react-navigation/stack": "^6.3.16",
    "apisauce": "^3.0.0",
    "bcryptjs": "^2.4.3",
    "buffer": "^6.0.3",
    "dayjs": "^1.11.7",
    "events": "^3.3.0",
    "expo": "~48.0.6",
    "expo-app-loading": "^2.1.1",
    "expo-asset": "~8.9.1",
    "expo-blur": "~12.2.2",
    "expo-constants": "~14.2.1",
    "expo-crypto": "~12.2.1",
    "expo-file-system": "~15.2.2",
    "expo-haptics": "~12.2.1",
    "expo-linear-gradient": "~12.1.2",
    "expo-localization": "~14.1.1",
    "expo-location": "~15.1.1",
    "expo-random": "~13.1.1",
    "expo-splash-screen": "^0.18.2",
    "expo-sqlite": "~11.1.1",
    "expo-sqlite-orm": "^1.5.0",
    "expo-standard-web-crypto": "^1.7.0",
    "expo-status-bar": "~1.4.4",
    "expo-task-manager": "~11.1.1",
    "firebase": "^9.17.2",
    "formik": "^2.2.9",
    "i18n-js": "^3.8.0",
    "jszip": "^3.10.1",
    "jwt-decode": "^4.0.0",
    "jwt-encode": "^1.0.1",
    "leaflet": "^1.9.3",
    "lottie-react-native": "5.1.4",
    "moment": "^2.29.4",
    "pouchdb-adapter-http": "^8.0.1",
    "pouchdb-adapter-react-native-sqlite": "^3.0.1",
    "pouchdb-core": "^8.0.1",
    "pouchdb-find": "^8.0.1",
    "pouchdb-load": "^1.4.6",
    "pouchdb-mapreduce": "^8.0.1",
    "pouchdb-replication": "^8.0.1",
    "pouchdb-replication-stream": "^1.2.9",
    "react": "18.2.0",
    "react-native": "^0.71.14",
    "react-native-bcrypt": "^2.4.0",
    "react-native-calendars": "^1.1294.0",
    "react-native-chart-kit": "^6.12.0",
    "react-native-element-dropdown": "^2.8.1",
    "react-native-floating-action": "^1.22.0",
    "react-native-gesture-handler": "~2.9.0",
    "react-native-get-random-values": "~1.9.0",
    "react-native-gifted-charts": "^1.3.27",
    "react-native-gifted-chat": "^2.0.1",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-maps": "1.3.2",
    "react-native-pager-view": "6.1.2",
    "react-native-paper": "^5.6.0",
    "react-native-progress": "^5.0.1",
    "react-native-quick-base64": "^2.0.7",
    "react-native-quick-websql": "^0.3.0",
    "react-native-reanimated": "~2.14.4",
    "react-native-safe-area-context": "4.5.0",
    "react-native-screens": "~3.20.0",
    "react-native-svg": "13.4.0",
    "react-native-vector-icons": "^9.2.0",
    "relational-pouch": "^4.0.4",
    "rn-fetch-blob": "^0.12.0",
    "typescript": "^4.9.4",
    "yup": "^1.0.2"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@babel/plugin-transform-export-namespace-from": "^7.23.4",
    "@types/react-native": "^0.72.7",
    "babel-plugin-module-resolver": "^5.0.0"
  },
  "private": true
}

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