I\'m getting the error while running the following code in Node.js
var assert = require(\'assert\'); var request = require(\'request\'); var index = require(\'./
This is happening because two files are referencing each other i.e You are calling function (s) from file A in file B and vice versa which is called Circular Dependency.