Open 2600box opened 2 years ago
Looking at those last couple of lines, it looks like your notes/
directory is empty. Why? I have no idea, but you could poke around in your directory structure and see if they're in another directory.
yes, it is empty but I don't understand what should be there?
the enex files are in evernote-notebooks
directory per your recommendation.
the below comment makes it seem even stranger
thanks!
#
# This crazy logic here is to do the following:
#
# 1) Move the various notebooks out of the notes/ directory and into the parent, because
# I see not point to the notes/ directory existing.
#
# 2) In an effort to make things more user-friendly, if this script has been run before,
# simply add an ascending number to the end and try again, instead of having the script bail.
#
#
I also don't see notes
anywhere in the screenshots at https://www.dmuth.org/migrating-from-evernote-to-obisidian/
Sorry if I am being dense here!
No worries, it's all good! As for what is happening, I'm out of ideas.
So how would I solve this? Us engineers usually solve problems like these by reproducing them on our end and tweaking code as necessary. If we were co-workers in an office environment, you'd pass me your ENEX files and I'd work on it. But since we're not co-workers, you probably don't want to give me your ENEX files and I don't want them either. :-)
If you want to continue using this script, you could ask around in your social network and see if anyone you know/trust who is local to you wouldn't mind poking around on your setup to try and solve the problem. (And they're welcome to reach out to me well) If that's not an option, the path of least resistance would unfortunately be to try another method. Sorry I can't be of more help there.
-- Doug
Ran into the same problem.
Turns out that simply copying the convert-evernote-to-markdown.sh file isn't enough (the blog post suggested this). One also needs to copy the config.json.in file and the template.tmpl file. Better even, just clone the entire project and it works. Hope this helps.
Hi! I came across this same error (I think) and I was able to sort the problem.
Here's the full error output:
Now, the final lines make you think that the error was the directory not being found. If you manually create it, then the same error about /notes/*
not being found pops up.
However, this is just a consequence of the script continuing the execution when the initial conversion failed.
The initial error is this one:
(node:7863) UnhandledPromiseRejectionWarning: Error: Cannot find module 'minimist'
Turns out that installing yarle through npm does not bring over it's dependency minimist
. (Why, I have not investigated.) Since yarle in the script is installed through npm global, executing this solved the problem for me:
npm install -g minimist
I hope this helps!
Any idea how to make the script work?