https://www-codeleading-com.translate.goog/article/39065696509/?_x_tr_sl=zh-CN&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=sc Uncaught TypeError: Cannot set property namespaceURI of # which has only a getter Reason: If there are pictures in the template, you need to install image-modulethe dependencies again. At this time, the js files in the dependencies may report errors Method: Open the files in the dependencies and delete \node_modules\docxtemplater-image-module-free\js\imgManager.jsallnewTag.namespaceURI = null;