The npm-based download of platforms is still quite new, as is the need for platforms to have npm dependencies. Android and iOS have some checked in node_modules. I believe blackberry solved this using "bundleDependencies" when publishing to npm.
On Mon, Sep 8, 2014 at 8:36 PM, Brian LeRoux <[email protected]> wrote: > would be worth us exploring using npm to manage deps (like, vanilla npm) > > this is precisely the issue w/ maintaining this unnecessary logic ourselves > > On Mon, Sep 8, 2014 at 5:26 PM, Suraj Pindoria < > [email protected]> wrote: > >> Hey, >> >> I am having an issue when trying to add the browser as a platform. It is >> downloading the browser module from the npm registry and saving into >> "~/.cordova/lib/npm_cache/" but it is installing the node_modules folder >> into a different folder than my source code. The source code is in >> "~/.cordova/lib/npm_cache/cordova-browser/3.5.0/package/bin/" and >> node_modules are being installed in >> "~/.cordova/lib/npm_cache/cordova-browser/3.5.0/package/cordova/master/". >> >> This has to do with the custom platform cache logic. Has anyone run into >> a similar issue? I have been trying to debug for a couple days and have >> not made much progress. >> >> Thanks, >> Suraj.
