cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Grebnov (Akvelon)" <v-seg...@microsoft.com>
Subject CB-7031 --usenpm option should place downloaded package to util.libDirectory
Date Thu, 26 Jun 2014 11:44:58 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message