Open hsjobeki opened 1 year ago
I'm facing this error too
Same here
Sorry, I've been super busy and haven't had time for this, happy to accept a PR!
same here too
@souporserious if you create an issue about the problem how to solve it I can work on it
I have solved by using:
const absolutePath = path.resolve("../files");
instead of
const basePath = "../files";
for the path of .mdx file.
I really liked the idea to generate plain md from the semantic suggaring of mdx.
But unfortunately when following the tutorial of your readme the following errors do occour; preventing me from using it:
I resolved the first error by simply setting
export NODE_ENV=="production"
But then the second error arises and i don't understand how to fix that. (Both come from esbuild it seems)Steps to reproduce
1
2
follow the steps from your readme
creating:
README.mdx
index.js
3
node index.js
Complete error: