Weldone Bosses, the solution is very simple and straightforward but before we dive into the solution... I have written an article on this here's the link
All you need to do is confirm your node environment and make sure it's in the commonJs environment but in case you need more insights I can put you through the step by step way to go about it