sebawita / nativescript-mip-ble

Other
4 stars 5 forks source link

npm run preparedemo fail the first time #1

Open ardiadrianadri opened 8 years ago

ardiadrianadri commented 8 years ago

One of the "preparedemo" task commands is to remove the nativescript-mip-ble before install it again. It is a "clean" fase of the task, which is fine.

However, if it is the first time that you try to run the demos, you won't have installed the plugin, which causes, when the nativescript-cli tries to remove it, an error that stop the task. To solve this problem, I've executed all the commands of "preparedemo", avoiding the "tns plugin remove nativescript-mip-ble". It isn't a big deal but it could be a good idea to have some npm task "preparedemoForFirstTime" for the beginners that come to test the plugin.

sebawita commented 8 years ago

Hi Adrian, That is a good idea. I am just working on improving the startup process. Making the project run for the first time is one of my priorities.