You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Sergey Grebnov (Akvelon)" <v-...@microsoft.com> on 2014/06/26 13:44:58 UTC
CB-7031 --usenpm option should place downloaded package to
util.libDirectory
Tested -usenpm option, found out the following issue:
https://issues.apache.org/jira/browse/CB-7031
Due to this there are the following two problems (if use this oprion):
1. Requirements check failed when adding new platform (if it is not cached)
cordova platform add wp8 --usenpm
CordovaError: Requirements check failed: The system cannot find the path specified.
This is because template package is located in different place.
2. Packages downloaded from npm can't be found by cordova so it downloads them again from git during prepare step, for example the following command will download android template twice
a) from npm during create step
b) from git during prepare step
cordova platform add android -usenpm -d
Thx!
Sergey