Both local and dev (server) is running on same version of AEM with same service pack and feature pack (if any)?
Was there any recent package deployment that was made?
Also when you are trying to use the RTE component are you getting any error in console?
Difference with respect to JS files inclusion(based on the screenshot shared in the query) are the ones from /libs/clientlibs/granite/coralui2/optional folder and modern.js (included in server and not in local)
High level root cause for this would be use of coral ui 2 resource with respect to RTE perhaps say custom plugins, leading to inclusion of /libs/clientlibs/granite/coralui2/optional/rte that has dependency on handlebars.
Given all this, I suggest to check the following