---
title: "K-Von Madison (@Kdash201) | Hashnode"
description: "Junior FullStack Web Developer. Read the latest articles by K-Von Madison on Hashnode."
url: "https://hashnode.com/@Kdash201"
---

@Kdash201

# K-Von Madison

@Kdash201 · Joined March 2022

Junior FullStack Web Developer

## Comments

[Hi kfn8dkodemonkey, unfortunately I wasn't able to fix it even after cloning the repo](https://hashnode.com/posts/graphql-for-beginners-setting-up-graphql-server/610d52cd528eff11aea881db/comment/62451dd3b4e1ecee678b629d#reply-6248b82516cdedfe9f7cd99a)

Reply · Article · Apr 2, 2022 · [GraphQL for Beginners: Setting Up GraphQL Server](https://hashnode.com/posts/graphql-for-beginners-setting-up-graphql-server/610d52cd528eff11aea881db)

[code snippet: const { GraphQLServer, PubSub } = require("graphql-yoga"); const pubSub = new PubSub();](https://hashnode.com/posts/graphql-for-beginners-setting-up-graphql-server/610d52cd528eff11aea881db/comment/62451dd3b4e1ecee678b629d#reply-624523a7114d74ee1e632c99)

Reply · Article · Mar 31, 2022 · [GraphQL for Beginners: Setting Up GraphQL Server](https://hashnode.com/posts/graphql-for-beginners-setting-up-graphql-server/610d52cd528eff11aea881db)

[Hi Victoria. First of all thanks, I love the content. I understand we are implementing this code all in the index js file. However (pardon my ignorance I'm still a newbie) I'm getting the below error message. I'm having a hard time debugging. Any assistance is greatly appreciated. TypeError: PubSub is not a constructor at Object.<anonymous> (C:\\Users\\K-Von\\Desktop\\projects\\github-help\\project\\server\\index.js:4:16)](https://hashnode.com/posts/graphql-for-beginners-setting-up-graphql-server/610d52cd528eff11aea881db/comment/62451dd3b4e1ecee678b629d)

Comment · Article · Mar 31, 2022 · [GraphQL for Beginners: Setting Up GraphQL Server](https://hashnode.com/posts/graphql-for-beginners-setting-up-graphql-server/610d52cd528eff11aea881db)
