I'm getting the error while installing the plugin.
TypeError: Invalid Version: 1.?2.0
I've created the plugin for NativeScript.
Here is how my package.json
looks like.
{
"name": "nativescript-toaster",
"version": "1.0.1",
"main": "index.js",
"nativescript": {
"platforms": {
"android": "1.2.0"
}
}
}
As described in some forums I've tried to remove the android
entries from package.json
of NS projects, and clean cache npm cache clean
. But as I add android platform tns platform add android
it comes again.
Please share if you've any idea about this.
Thanks Guys