Error during migration

running node movie-last-updated-migration.js i get this error:
Error during migration, MongoParseError: No hostname or hostnames provided in connection string

const host = ‘mongodb+srv://m220student:m220password@mflix-08hio.mongodb.net’ like .env, i don’t understand why this time is not working.

Thank you.

mine looks like yours but has an extra /test after .net being mongodb.net/test at the end

so my code was right, but the “No hostname or hostnames provided in connection string” things and still not working even with the solutions. I don’t know what was wrong.

Please do not post your implementation in entirety.