lonekorean/wordpress-export-to-markdown

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

Closed this issue · 3 comments

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.

Related: #25

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.

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.