Skip to content

TypeError: undefined is not an object (evaluating '_graphql.default.send') #139

@JintoAntony

Description

@JintoAntony

I am trying to run a Shopify mutation for customerCreate in react native using react-graphql-client. The following code is what I have written so far. Somehow, it shows the error: Possible Unhandled Promise Rejection (id: 0): TypeError: undefined is not an object (evaluating '_graphql.default.send').

"@react-native-community/async-storage": "^1.11.0",
"@react-native-community/masked-view": "^0.1.10",
"@react-native-community/netinfo": "^5.9.4",
"@shopify/koa-shopify-auth": "^3.1.64",
"axios": "^0.19.2",
"babel-plugin-graphql-js-client-transform": "^1.1.1",
"clone-deep": "^4.0.1",
"convert-css-color-name-to-hex": "^0.1.1",
"dotenv": "^8.2.0",
"graphql-js-client": "^0.12.0",
"isomorphic-fetch": "^2.2.1",
"koa": "^2.13.0",
"koa-session": "^6.0.0",
"lodash": "^4.17.19",
"react": "16.11.0",
"react-dom": "^16.13.1",
"react-native": "0.62.2",
"react-native-elements": "^2.0.2",
"react-native-firebase": "^5.6.0",
"react-native-gesture-handler": "^1.6.1",
"react-native-indicators": "^0.17.0",
"react-native-modal": "^11.5.6",
"react-native-phone-input": "^0.2.4",
"react-native-reanimated": "^1.9.0",
"react-native-safe-area-context": "^3.0.5",
"react-native-screens": "^2.8.0",
"react-native-shopify": "^0.2.7",
"react-native-snap-carousel": "^3.9.1",
"react-native-splash-screen": "^3.2.0",
"react-native-swipe-list-view": "^3.1.2",
"react-native-vector-icons": "^6.6.0",
"react-navigation": "^4.3.9",
"react-navigation-stack": "^2.7.0",
"react-navigation-tabs": "^2.8.13",
"react-redux": "^7.2.0",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"shopify-buy": "^2.10.0",
"util": "^0.12.3"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions