My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

I don't understand require(). How can I understand it?

estevan carlos benson's photo
estevan carlos benson
·May 6, 2017

Many projects on Github assume a user will setup a project using the require function but I'm receiving a reference error in regards to it being undefined.

What am I missing? What prerequisites are required for me to use require?

This is the project I'm attempting to set up - github.com/ngokevin/kframe/tree/master/comp..