Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-884

Errors removing orphaned sync adapters when using a widget-specific sync adapter

    Details

      Description

      After upgrading to Alloy 1.3.0-alpha3 I get errors when building a project that worked fine with Alloy 1.2.x:

      [DEBUG] ----- CLEANING RESOURCES -----
      [DEBUG] Removing orphaned controllers...
      [DEBUG] Removing orphaned models...
      [DEBUG] Removing orphaned styles...
      [DEBUG] Removing orphaned sync adapters...
      [DEBUG] fs.js:760
      [DEBUG]   return binding.unlink(pathModule._makeLong(path));
      [DEBUG]                  ^
      [ERROR] : EPERM, operation not permitted '/Users/zandbergen/dev/apps/VBG/Resources/iphone/alloy/sync/nl.fokkezb.titabs.gcal
      

      The problem seems to be that I have widgets that ship with their own custom sync adapter. The sync adapter is provided via:

      /app/widgets/nl.fokkezb.titabs.gcal/assets/alloy/sync/restapi.js
      

      After the build stops on this error, the file does exist under the displayed Resources path.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tlukasavage Tony Lukasavage
                Reporter:
                fokkezb Fokke Zandbergen
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration