Unable to save settings file


#1

Hello

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.


#2

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


#3

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


#4

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