Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-23346

npm install issue - Expected a file but found a folder

    XMLWordPrintable

    Details

      Description

      We have two artifactory pro instances, on instance A we have configured a virtual repo named npm-dev with two repositories, one called npm-local (local repo in instance A) and another remote repo ( npm local repo in instance B) . When we trying to install an npm package which exist on instance B with --registry url http://instance_A/artifactory/api/npm/npm-dev/ , we are getting following error messges :

      2020-09-11 12:29:41,036 [http-nio-8081-exec-129812] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:48) - Expected a file but found a folder, at: npm-local_aws:.npm/csg-react-magnetic/package.json
      org.artifactory.api.repo.exception.FileExpectedException: Expected a file but found a folder, at: npm-local_aws:.npm/csg-react-magnetic/package.json
      at org.artifactory.repo.HttpRepo.assertNoRedirectToFolder(HttpRepo.java:710) ~[artifactory-core-5.5.1.jar:na]
      at org.artifactory.repo.HttpRepo.handleGetInfoResponse(HttpRepo.java:621) ~[artifactory-core-5.5.1.jar:na]

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            anoop.kulapparayilbaby Anoop
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-23346 -
                SYNCHRONIZED
                • Last Sync Date: