Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9954

Update npm dep to npm@3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 6.0.0
    • cordova-lib

    Description

      I'm using cordova. My system has NPM@3.3.12 on Node 4.1.2.

      I tried Node 5, NPM 3.3.12, NPM 3.3.6 (was working on 3.3.6 about a month ago). Was working on Node 4.1.1

      Cordova-Lib has NPM@2 as a dependency, which NPM@2 gets installed under my project node_modules folder.

      The NPM team recommends Cordova-Lib updates the dependency to use NPM@3 ASAP. https://github.com/npm/npm/issues/10234#issuecomment-153710853

      ```
      async@1.5.0 .cordova\hooks\node_modules\async
      [12:01:32] '<anonymous>' errored after 2.55 s
      [12:01:32] ReferenceError: resolver is not defined
      at null._onTimeout (c:\git\pos\node_modules\npm\lib\install.js:840:7)
      at Timer.listOnTimeout (timers.js:92:15)
      [12:01:32] 'cordova:debug' errored after 40 s
      [12:01:32] ReferenceError: resolver is not defined
      at null._onTimeout (c:\git\pos\node_modules\npm\lib\install.js:840:7)
      at Timer.listOnTimeout (timers.js:92:15)
      ```

      Attachments

        Activity

          People

            stevegill Steve Gill
            sevenalive Robert Baker
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: