Okay, I found the solution:
removed line - npm i nodebb-theme-vanilla nodebb-theme-lavender nodebb-widget-essentials
Now the templates are not updated. (I have changed theme and it would be cancel changes.)
I perform the command ./nodebb upgrade
I perform the command ./nodebb restart
Now all the people will be taken new changes.