Skip to content

[ReferenceError]: define is not defined #1085

Open
@harrytran998

Description

@harrytran998

Describe the bug
I don't know why but when I upload to the version @vue/apollo-composable@^4.0.0-alpha.12, it's crash the app. Then I reproduce a repo to this issue.

image

To Reproduce
Steps to reproduce the behavior:

  1. Clone this repo 'https://github.com/harrytran998/nuxt-ts-graphql-issues'
  2. Run yarn && yarn dev to see the issue

Expected behavior
Hope you can fix that, my team risky to use this for production 🔥.

Versions

 "@nuxt/typescript-runtime": "^2.0.0",
  "@nuxtjs/apollo": "^4.0.1-rc.4",
  "@nuxtjs/composition-api": "^0.13.5",
  "@vue/apollo-composable": "^4.0.0-alpha.12",
  "apollo-cache-inmemory": "^1.6.6",
  "graphql": "^15.3.0",
  "nuxt": "^2.14.7",

Additional context
Add any other context about the problem here.

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