Cannot add media to a page

The TypeError: wp.Uploader is undefined error is coming, because wp media editor file is not included. Please check for this.