I saw a lot about these issues for windows but I followed the instructions for installing on Ubuntu (17.04) and post-install-cli fails to run.
I followed the instructions. Installed node 7.10, hit all the dependencies.
Installed Android SDK, setup $ANDROID_HOME in my .bashrc and skipped setting up AVD's because the instructions were windows only so that's pretty useless to me.
I have no idea how to uninstall native script at this point because NPM can't find it even tought it was auto-installed under /usr/lib/node_modules/nativescript
Please provide the following version numbers that your issue occurs with:
Cross-platform modules: This doesn't exist in /usr/lib/node_modules/nativescript or /usr/lib/node_modules/npm
(check the 'version' attribute in the node_modules/tns-core-modules/package.json file in your project)
Runtime(s):Haven't made it past the install
Plugin(s): Haven't made it this far.
build-tools emulator extras licenses patcher platforms platform-tools tools
Install crashes out. I uninstalled and re-installed with --log trace
sudo npm install nativescript -g --unsafe-perm --log trace
Gist of Results: https://gist.github.com/likwidoxigen/e484c6c400f0f02931a951cbe29985d7
Saw instructions to re-run on a git-hub issue regarding windows. Error's in gist.
sudo tns post-install-cli --log trace
sudo tns doctor --log trace
Gist of results: https://gist.github.com/likwidoxigen/d4957c04ca8f2bf283ec61c6fb925f04