A non-null String must be provided to a Text widget. code example
Example: The "chunk" argument must be one of type string or Buffer. Received type object nodejs
//change res.end() to res.send()
//change res.end() to res.send()