TypeError: Assignment to constant variable. mongoose code example Example: assigment constant variable assigment constant variable reason :- const solution:-let