Skip to content

Unable to run cli 0.83.x on a Mac - Error: Returning from a request handler without responding or attaching an abort handler is forbidden! #5562

Closed
@mlasevich

Description

@mlasevich

Issue workflow progress

Progress of the issue based on the
Contributor Workflow

  • 1. The issue provides a reproduction available on
    below

Make sure to fork this template and run yarn generate in the terminal.

Please make sure Mesh package versions under package.json matches yours.

  • 2. A failing test has been provided
  • 3. A local solution has been provided
  • 4. A pull request is pending review

Describe the bug

When running cli with mesh dev on a Mac 13.4 with @graphql-mesh/cli version 0.83.1 or newer the following error is seen:

💡 🕸️  Mesh - Server Starting GraphQL Mesh...
💡 🕸️  Mesh - Stripe Generating GraphQL schema from OpenAPI schema
Error: Returning from a request handler without responding or attaching an abort handler is forbidden!
libc++abi: terminating
Abort trap: 6

if version of cli is downgraded 0.82.35 - it works fine

When tested in a linux container, it appears to also work fine - perhaps related to the code that is opening the browser?

To Reproduce Steps to reproduce the behavior:

Using the following config, run npm install; npm run dev

package.json

{
  "name": "graphql-mesh-messing-around",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "dev": "mesh dev"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@graphql-mesh/cli": "0.83.1",
    "@graphql-mesh/openapi": "^0.94.2",
    "@graphql-mesh/runtime": "^0.94.0",
    "graphql": "^16.6.0"
  }
}

.meshrc.yml

sources:
  - name: Stripe
    handler:
      openapi:
        source: https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json
        endpoint: https://api.stripe.com

Environment:

  • OS: macOs 13.4
  • versions - see package.json
  • NodeJS: attempted with 18 and 16

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions