Skip to content

Bug in tutorial: Uncaught TypeError: Cannot read properties of undefined (reading 'reduceRight')  #34

@fan-droide

Description

@fan-droide

Sorry, not sure if the bug is related to Platformatic Tutorial or @urql/core but I had to report both, I hope it helps:

urql-graphql/urql#3152

At this point of the steps:
https://oss.platformatic.dev/docs/getting-started/movie-quotes-app-tutorial/#integrate-the-urql-graphql-client

I think it's related to version 4.0.4 of @urql/core and the following code:

import { createClient } from '@urql/core';

const graphqlClient = createClient({
  url: import.meta.env.PUBLIC_GRAPHQL_API_ENDPOINT,
  requestPolicy: "network-only"
});

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