Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0, 3.2.2, 2.8.3
    • Component/s: None
    • Labels:
      None
    • Rank:
      1|hzz4vr:

      Description

      Because of a change in package `main-bower-files` that was released yesterday, the cdap-ui build no longer works (error pasted below).

      https://github.com/ck86/main-bower-files/releases/tag/2.11.1

      To fix this, we need to restrict usage to version 2.11.0 of that package.

      build	06-Jan-2016 21:06:00	[INFO] Running 'gulp distribute --no-color' in /var/bamboo/xml-data/build-dir/CDAP-BUT818-JOB1/cdap-ui
      build	06-Jan-2016 21:06:01	[INFO] [21:06:01] Using gulpfile /var/bamboo/xml-data/build-dir/CDAP-BUT818-JOB1/cdap-ui/Gulpfile.js
      build	06-Jan-2016 21:06:01	[INFO] [21:06:01] Starting 'js:lib'...
      build	06-Jan-2016 21:06:01	[INFO] [21:06:01] 'js:lib' errored after 28 ms
      build	06-Jan-2016 21:06:01	[INFO] [21:06:01] Error: absolute path in bower main is not supported
      build	06-Jan-2016 21:06:01	[INFO]     at Object.<anonymous> (/var/bamboo/xml-data/build-dir/CDAP-BUT818-JOB1/cdap-ui/node_modules/main-bower-files/lib/package.js:132:23)
      build	06-Jan-2016 21:06:01	[INFO]     at Array.forEach (native)
      build	06-Jan-2016 21:06:01	[INFO]     at Object.Package.getFiles (/var/bamboo/xml-data/build-dir/CDAP-BUT818-JOB1/cdap-ui/node_modules/main-bower-files/lib/package.js:130:14)
      build	06-Jan-2016 21:06:01	[INFO]     at Object.<anonymous> (/var/bamboo/xml-data/build-dir/CDAP-BUT818-JOB1/cdap-ui/node_modules/main-bower-files/lib/package_collection.js:148:39)
      build	06-Jan-2016 21:06:01	[INFO]     at Array.forEach (native)
      build	06-Jan-2016 21:06:01	[INFO]     at Object.PackageCollection.process (/var/bamboo/xml-data/build-dir/CDAP-BUT818-JOB1/cdap-ui/node_modules/main-bower-files/lib/package_collection.js:147:15)
      build	06-Jan-2016 21:06:01	[INFO]     at Object.PackageCollection.getFiles (/var/bamboo/xml-data/build-dir/CDAP-BUT818-JOB1/cdap-ui/node_modules/main-bower-files/lib/package_collection.js:125:21)
      build	06-Jan-2016 21:06:01	[INFO]     at module.exports (/var/bamboo/xml-data/build-dir/CDAP-BUT818-JOB1/cdap-ui/node_modules/main-bower-files/lib/index.js:95:28)
      build	06-Jan-2016 21:06:01	[INFO]     at Gulp.gulp.task.JSON.stringify.name (/var/bamboo/xml-data/build-dir/CDAP-BUT818-JOB1/cdap-ui/Gulpfile.js:117:8)
      build	06-Jan-2016 21:06:01	[INFO]     at module.exports (/var/bamboo/xml-data/build-dir/CDAP-BUT818-JOB1/cdap-ui/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)
      

        Attachments

          Activity

            People

            • Assignee:
              ali.anwar Ali Anwar
              Reporter:
              ali.anwar Ali Anwar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: