You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Suraj Pindoria (JIRA)" <ji...@apache.org> on 2017/10/25 21:44:01 UTC

[jira] [Created] (CB-13494) cordova-js node_modules is getting removed when running some commands using npm@5

Suraj Pindoria created CB-13494:
-----------------------------------

             Summary: 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


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
(v6.4.14#64029)

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