Error when there is no Music directory in home directory
wug-ge opened this issue · comments
wug-ge commented
Hi,
I'm a first time user and got an exception trying to download music:
Unhandled rejection Error: ENOENT: no such file or directory, mkdir '/home/wug-ge/Music/Spotify'
at Object.mkdirSync (fs.js:731:3)
at folders.forEach (/opt/AllToMP3/resources/app/node_modules/alltomp3/index.js:1053:10)
Looks like all it needs is a check if a Music directory exists and if not create one. (Or do something like mkdir -p instead)
After creating it the application does still not work for me, but it get's further then before without an exception.