Skip to content

Error: expected Undefined to be a GraphQl schema while accessing Home page after logging in. #14148

Answered by AnnuCode
AnnuCode asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @vladi-stevanovic and @pantharshit00 apologies for the late reply. The above error "Error: Expected undefined to be a GraphQL schema" was caused by Nexus while trying to make a custom scalar type (date-time). The error vanished when I used a 3rd party library to create the date-time scalar('graphql-iso-date').

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@vladi-stevanovic
Comment options

Comment options

You must be logged in to vote
1 reply
@vladi-stevanovic
Comment options

Answer selected by vladi-stevanovic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants