I can't be sure if it's the same problem, but I've run into a [similar 
situation](https://gist.github.com/dpogue/f8bd67888040a06f16d41ec3ee179055) 
where a custom tool calling `cordova prepare` causes my node_modules folder to 
get emptied when npm tries to install dependencies that are pointing at git 
repos. In my case it only happens when I run it on my Jenkins buildmachine, but 
@raphinesse was able to reproduce it locally. It did not happen when running 
`cordova prepare` directly with cordova-cli, it only happened when a custom 
tool make the same call with the same parameters :disappointed: 

I don't know what's causing it and whether it's a cordova bug or an npm bug, 
but it is on my list of annoying things I want to track down and fix.

[ Full content available at: https://github.com/apache/cordova-cli/issues/324 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to