I have a NodeJS server running on an elastic beanstalk instance. The logs of the elastic beanstalk instance is showing:
TypeError: Cannot read property \'replace\