Try to add require in node and frontend