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

npm should always be used with NO_UPDATE_NOTIFIER setted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • cordova-lib
    • None

    Description

      Since cordova-lib is using npm commands, when I am behind a corporate proxy npm is trying to check if npm has new versions available and get stuck for some time each time npm command is spawned.

      As a workaround, I set NO_UPDATE_NOTIFIER environment variable manually to disable the check done by the "update-notifier" module which is used by npm.

      I think that cordova-lib should set this variable itself when it spawn npm commands since this check is probably unnecessary.

      Attachments

        Activity

          People

            raphinesse Raphael von der Grün
            IceWil Nicolas HENRY
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: