Path Must Be A String Received Undefined Node Js