fix: handle permissions error on directory creation (#5480)
fix: handle permissions error on directory creation (#5480)

* fix: handle permissions error on directory creation

* refactor: common error message
NativeScript/nativescript-cli,NativeScript/nativescript-cli,NativeScript/nativescript-cli,NativeScript/nativescript-cli