Skip to content

Resolved correctly first build, returns TypeError: Cannot convert undefined or null to object on each successive #133

Closed
@aeblin

Description

@aeblin

Not sure what's happened on my end, but after importing my typeDefs manually, the merge worked correctly and has failed with the above TypeError each successive build attempt. I'm sitting around coding on too little sleep and not enough caffeine, so it wouldn't surprise me if I'm doing something stupid here, but I've run this through a linter, and haven't changed anything since the first successful build.

Any help would be very much appreciated.

Activity

cfnelson

cfnelson commented on Apr 4, 2018

@cfnelson
Contributor

@aeblin Sadly, I haven't come across this issue before. To be able to better assist you we will need some more info or a minimal working example.

  • Are you using webpack and babel? What plugins etc.
  • could you provide us with an example of your typedefs?
  • Can you also provide the stack trace.

To be clear it's your typeDefs that are throwing the error when you try to merge them?

wildstyles

wildstyles commented on Apr 29, 2018

@wildstyles

Got the same issue then tried to import empty file. Then imported not blank file - problem dissapeared.

RodMachado

RodMachado commented on May 11, 2018

@RodMachado
Contributor

Hey @aeblin,

Where you able to figure out what was going on?

Cheers

ardatan

ardatan commented on Jul 20, 2019

@ardatan
Collaborator

Available in v1.6.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⏳waiting for releaseThis issue or pull request is waiting to be released🎙️questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @aeblin@cfnelson@RodMachado@ardatan@wildstyles

        Issue actions

          Resolved correctly first build, returns TypeError: Cannot convert undefined or null to object on each successive · Issue #133 · Urigo/merge-graphql-schemas