Jan Piotrowski (Sujan) commented on CB-13494:

Just had this exact same problem when running the command :(
Switching over to a node with npm4 temporarily via `npm` indeed solved the 

> cordova-js node_modules is getting removed when running some commands using 
> npm@5
> ---------------------------------------------------------------------------------
>                 Key: CB-13494
>                 URL: https://issues.apache.org/jira/browse/CB-13494
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-coho
>            Reporter: Suraj Pindoria
>            Priority: Major
> This only seems to be an issue when using npm@5. While going through the 
> platform release process, I was attempting to run "coho 
> prepare-platform-release-branch ...", but it kept failing with an error 
> saying it can't find local grunt. After inspecting the cordova-js directory 
> was able to see that node_modules/ was no longer there, even after explicitly 
> running "npm install". After downgrading to npm@4 and running 
> prepare-platform-release-branch it successfully completed.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to