Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1266

Lock @open-wc/testing-helpers dependency

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.0.2
    • Component/s: Storybook
    • Tags:
    • Team:
      UI
    • Sprint:
      UI - 2020-11

      Description

      When trying to start Storybook with a nuxeo-elements fresh installation, we are presented with the following error:

      ERROR in ../node_modules/@open-wc/scoped-elements/src/Cache.js 22:51 Module parse failed: Unexpected token (22:51) File was processed with these loaders: * ../node_modules/@open-wc/webpack-import-meta-loader/webpack-import-meta-loader.js You may need an additional loader to handle the result of these loaders. | */ | has(key) { > return !!(this._cache.has(key) || this._parent?._cache.has(key)); | } | @ ../node_modules/@open-wc/scoped-elements/src/ScopedElementsMixin.js 4:0-35 33:32-37 53:28-33 @ ../node_modules/@open-wc/scoped-elements/index.js @ ../node_modules/@open-wc/testing-helpers/src/scopedElementsWrapper.js @ ../node_modules/@open-wc/testing-helpers/src/litFixture.js @ ../node_modules/@open-wc/testing-helpers/index.js @ ../testing-helpers/index.js @ ./.storybook/config.js @ multi ../node_modules/@storybook/core/dist/server/common/polyfills.js ../node_modules/@storybook/core/dist/server/preview/globals.js ./.storybook/config.js ../node_modules/webpack-hot-middleware/client.js?reload=true&quiet=true
      

      We'll lock it to the previous version (1.6.2) until we discover what is causing the problem.

        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 - 2 hours
                  2h