Nodejs docx-merger plugin “Word found unreadable content”
问题 I'm trying to merge docx files via docx-merger library. Everything is good, except of Microsoft Word's "Word found unreadable content in output.docx. Do you want to recover the contents of this document? If you trust the source of this document, click Yes." message. It opens the document when click to yes, but not the output file, just a buffer. Here is my code: const docxMerger = require('docx-merger'); fs.readdir('input/', (err, bufferFiles) => { var bufferFilesArr = []; bufferFiles.forEach