Unable to save settings file


when I run the command: "ionic build android"
I’m getting an error that says:

Unable to save settings file: { [Error: ENOENT, no such file or directory 'd:\Users\Nadav\.ionic']
  errno: 34,
  code: 'ENOENT',
  path: 'd:\\Users\\Nadav\\.ionic',
  syscall: 'mkdir' }

It seems that it’s looking for my home directory on the wrong drive (my dev stuff are on volume D, home dir is on C).
When I create manually the directory, the error is gone (and .ionic folder is created there).
The build is running afterwards, and seems to be OK though.
Smells like a bug?

Thanks, Nadav.

Same here while working with "ionic start myproject"
Trying to install on E: results in the same error, works fine on C:

I’ve seen similar issues with cordova. Only solution I’ve found is to have my source checked out on my C:. :frowning:

1 Like

@Ranger​Rick: Thank you. You save my day :slight_smile: BTW cordova already fix this issues, and I hope ionic will do.