[ https://issues.apache.org/jira/browse/CB-11778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15443121#comment-15443121 ]
Shazron Abdullah commented on CB-11778: --------------------------------------- You will need all the items in the flattened node_modules directory to be listed in the bundledDependencies tag. This is quite tedious since a lot of these modules are subdependencies, really. This can create a sync problem > ios nightly is missing packages in node_modules that are in the repo > -------------------------------------------------------------------- > > Key: CB-11778 > URL: https://issues.apache.org/jira/browse/CB-11778 > Project: Apache Cordova > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Coho > Environment: iOS, node 0.10.25 in CI > Reporter: Shazron Abdullah > > Try to do a platform add: > {code} > cordova platform add ios@4.3.0-nightly.2016.8.25.582e3577 > {code} > Error: > {code} > Warning: using prerelease version 6.4.0-nightly.2016.8.25.4935f1a5 > (cordova-lib@6.4.0-nightly.2016.8.25.3b38b538) > Warning: using prerelease platform ios@4.3.0-nightly.2016.8.25.582e3577. > Use 'cordova platform add ios@latest' to add the latest published version > instead. > Adding ios project... > Running command: > /Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create > /Users/shaz/Desktop/s/platforms/ios s s --cli > module.js:457 > throw err; > ^ > Error: Cannot find module 'elementtree' > at Function.Module._resolveFilename (module.js:455:15) > at Function.Module._load (module.js:403:25) > at Module.require (module.js:483:17) > at require (internal/module.js:20:19) > at Object.<anonymous> > (/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules/cordova-common/src/ConfigParser/ConfigParser.js:22:10) > at Module._compile (module.js:556:32) > at Object.Module._extensions..js (module.js:565:10) > at Module.load (module.js:473:32) > at tryModuleLoad (module.js:432:12) > at Function.Module._load (module.js:424:3) > Error: > /Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create: > Command failed with exit code 1 > {code} > If I go into: > {code} > ~/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules > {code} > the package "elementtree" is missing (a lot of others are as well). The > package elementtree does exist in the repo. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org