Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28304

Web UI: Align on latest prettier 1.19.1 upgrade

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.1-SNAPSHOT
    • Fix Version/s: 11.1
    • Component/s: Web UI

      Description

      Since https://qa.nuxeo.org/jenkins/job/master/job/plugins_nuxeo-web-ui-master-master/3657/ (Nov 9th 2019), we are seeing:

      04:26:10 packages/nuxeo-web-ui-ftest/features/step_definitions/support/fixtures/layouts.js
      04:26:11 ↑↑ these files are not prettier formatted ↑↑
      04:26:11 npm ERR! code ELIFECYCLE
      04:26:11 npm ERR! errno 1
      04:26:11 npm ERR! @nuxeo/nuxeo-web-ui@3.0.0-SNAPSHOT lint:prettier: `prettier "**/*.{js,html}" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)`
      04:26:11 npm ERR! Exit status 1
      04:26:11 npm ERR! 
      04:26:11 npm ERR! Failed at the @nuxeo/nuxeo-web-ui@3.0.0-SNAPSHOT lint:prettier script.
      04:26:11 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      04:26:11 
      04:26:11 npm ERR! A complete log of this run can be found in:
      04:26:11 npm ERR!     /opt/jenkins/.npm/_logs/2019-11-09T03_26_11_615Z-debug.log
      04:26:11 npm ERR! code ELIFECYCLE
      04:26:11 npm ERR! errno 1
      04:26:11 npm ERR! @nuxeo/nuxeo-web-ui@3.0.0-SNAPSHOT lint: `npm run lint:polymer && npm run lint:eslint && npm run lint:prettier`
      04:26:11 npm ERR! Exit status 1
      04:26:11 npm ERR! 
      04:26:11 npm ERR! Failed at the @nuxeo/nuxeo-web-ui@3.0.0-SNAPSHOT lint script.
      04:26:11 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      04:26:11 
      04:26:11 npm ERR! A complete log of this run can be found in:
      04:26:11 npm ERR!     /opt/jenkins/.npm/_logs/2019-11-09T03_26_11_634Z-debug.log
      04:26:11 Build step 'Execute shell' changed build result to UNSTABLE
      

      This seems caused by prerttier 1.19.1 released

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 15 minutes
                  15m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.