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

cordova-fetch: ignores npm registry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Cannot Reproduce
    • cordova@8.0.0
    • None
    • cordova-fetch
    • None

    Description

      My situation:
      a build server that has no access to the internet, but to a local npm mirror.

      If I do at my build job:

      npm config set registry "http://my.local.server/repository/mirror.npm"
      npm install
      npm install cordova ionic npm --no-save
      cordova platform add ios --no-update-notifier

      I get:

      Using cordova-fetch for cordova-ios@4.5.3
      Error: Cannot find module './index'

      My work around for cordova 7 was to use: --nofetch

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              GreenRover Heiko
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: