lonekorean / wordpress-export-to-markdown

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

Error on import #21

Closed kapsoft closed 4 years ago

kapsoft commented 4 years ago

Looks like a great utility. I see it reference all over.

But I'm getting an error right off the bat. Maybe u can see some obvious:

Something went wrong, execution halted early. TypeError: Cannot read property 'readFile' of undefined at Object.parseFilePromise (/Users/apple/Deanonsoftware/wordpress-export-to-markdown/src/parser.js:10:36) at /Users/apple/Deanonsoftware/wordpress-export-to-markdown/index.js:15:29 at at process._tickCallback (internal/process/next_tick.js:188:7)

Thx

Dean

lonekorean commented 4 years ago

Hm, 2 questions that might help:

  1. If running locally, did you run npm install first?
  2. What version of node are you on? (run node -v to check)
kapsoft commented 4 years ago

v8.11.1 (I did install).

lonekorean commented 4 years ago

Ah, that would be it. This requires v12.14.

kapsoft commented 4 years ago

Thx!