I am copying here the discussion from https://github.com/NativeScript/nativescript-cli/issues/1740, for it deserves a separate thread...