Description
$ tns platform add android --framework-path ~/.npm/tns-android/1.3.0/package.tgz
Copying template files...
Installing .npm/tns-android/1.3.0/package.tgz
AssertionError: package metadata must include name
at getCacheRoot (nativescript-cli/node_modules/npm/lib/cache/cached-package-root.js:10:3)
at addPlacedTarball_ (nativescript-cli/node_modules/npm/lib/cache/add-local-tarball.js:64:26)
at nativescript-cli/node_modules/npm/lib/cache/add-local-tarball.js:59:12
at nativescript-cli/node_modules/npm/lib/cache/get-stat.js:19:12
at FSReqWrap.oncomplete (evalmachine.:95:15)
$ cp ~/.npm/tns-android/1.3.0/package.tgz android-1.3.0.tgz
$ ../../bin/tns platform add android --framework-path ./android-1.3.0.tgz
Platform android already added
Note: the full fix require cooperation from npm developers.