Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when there is no Music directory in home directory #220

Open
wug-ge opened this issue Jun 1, 2021 · 0 comments
Open

Error when there is no Music directory in home directory #220

wug-ge opened this issue Jun 1, 2021 · 0 comments

Comments

@wug-ge
Copy link

wug-ge commented Jun 1, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant