lonekorean / wordpress-export-to-markdown

Converts a WordPress export XML file into Markdown files.
MIT License
1.14k stars 227 forks source link

TypeError: postContent.matchAll(...) is not a function (SOLVED) #27

Closed cypris75 closed 4 years ago

cypris75 commented 4 years ago

If you get this error you probably only exported "Posts". Try to export "All".

Thanks for the script!

I leave this issue open in case others have the same issue.

lonekorean commented 4 years ago

Related: https://github.com/lonekorean/wordpress-export-to-markdown/issues/25

lonekorean commented 4 years ago

Please see related issue mentioned above. It is possible that there is another cause for this error. Closing this issue, but if anyone else sees this and they are def running node v12.14+ please reopen.

eaorak commented 4 years ago

I'm using the export file from all but still getting the same error.

Edit: Looks like it was because of an older node version. I was using 10.x. When I switch to 13.x it works fine. Thanks.