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 happened to me many times because of circular dependency, check if you have 2 classes that are requiring each other, remove one of them from requiring the other and the issue should be solved