Update to use vite + vitest #47
Annotations
10 errors and 1 warning
build (20.x)
Process completed with exit code 1.
|
build (22.x)
The job was canceled because "_20_x" failed.
|
build (22.x)
The operation was canceled.
|
build (18.x)
The job was canceled because "_20_x" failed.
|
__tests__/CanvasDownloadLinks.test.js:
node_modules/mirador/dist/cjs/src/index.js#L16
Error: require() of ES Module /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/react-dnd/dist/index.js from /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/mirador/dist/cjs/src/components/AppProviders.js not supported.
Instead change the require of index.js in /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/mirador/dist/cjs/src/components/AppProviders.js to a dynamic import() which is available in all CommonJS modules.
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/components/AppProviders.js:11:17
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/containers/AppProviders.js:11:21
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/components/App.js:10:44
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/lib/MiradorViewer.js:9:35
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/init.js:7:45
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/index.js:16:36
❯ __tests__/CanvasDownloadLinks.test.js:3:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
__tests__/ManifestDownloadLinks.test.js:
node_modules/mirador/dist/cjs/src/index.js#L16
Error: require() of ES Module /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/react-dnd/dist/index.js from /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/mirador/dist/cjs/src/components/AppProviders.js not supported.
Instead change the require of index.js in /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/mirador/dist/cjs/src/components/AppProviders.js to a dynamic import() which is available in all CommonJS modules.
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/components/AppProviders.js:11:17
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/containers/AppProviders.js:11:21
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/components/App.js:10:44
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/lib/MiradorViewer.js:9:35
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/init.js:7:45
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/index.js:16:36
❯ __tests__/test-utils.js:9:31
❯ __tests__/ManifestDownloadLinks.test.js:4:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
__tests__/MiradorDownloadDialog.test.js:
node_modules/mirador/dist/cjs/src/index.js#L16
Error: require() of ES Module /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/react-dnd/dist/index.js from /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/mirador/dist/cjs/src/components/AppProviders.js not supported.
Instead change the require of index.js in /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/mirador/dist/cjs/src/components/AppProviders.js to a dynamic import() which is available in all CommonJS modules.
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/components/AppProviders.js:11:17
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/containers/AppProviders.js:11:21
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/components/App.js:10:44
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/lib/MiradorViewer.js:9:35
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/init.js:7:45
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/index.js:16:36
❯ src/MiradorDownloadDialog.js:4:31
❯ __tests__/MiradorDownloadDialog.test.js:3:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
__tests__/RenderingDownloadLink.test.js:
node_modules/mirador/dist/cjs/src/index.js#L16
Error: require() of ES Module /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/react-dnd/dist/index.js from /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/mirador/dist/cjs/src/components/AppProviders.js not supported.
Instead change the require of index.js in /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/mirador/dist/cjs/src/components/AppProviders.js to a dynamic import() which is available in all CommonJS modules.
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/components/AppProviders.js:11:17
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/containers/AppProviders.js:11:21
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/components/App.js:10:44
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/lib/MiradorViewer.js:9:35
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/init.js:7:45
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/index.js:16:36
❯ __tests__/test-utils.js:9:31
❯ __tests__/RenderingDownloadLink.test.js:4:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
__tests__/miradorDownloadPlugin.test.js:
node_modules/mirador/dist/cjs/src/index.js#L16
Error: require() of ES Module /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/react-dnd/dist/index.js from /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/mirador/dist/cjs/src/components/AppProviders.js not supported.
Instead change the require of index.js in /home/runner/work/mirador-dl-plugin/mirador-dl-plugin/node_modules/mirador/dist/cjs/src/components/AppProviders.js to a dynamic import() which is available in all CommonJS modules.
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/components/AppProviders.js:11:17
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/containers/AppProviders.js:11:21
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/components/App.js:10:44
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/lib/MiradorViewer.js:9:35
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/init.js:7:45
❯ Object.<anonymous> node_modules/mirador/dist/cjs/src/index.js:16:36
❯ __tests__/test-utils.js:9:31
❯ __tests__/miradorDownloadPlugin.test.js:4:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
build (18.x)
The operation was canceled.
|
build (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|