chore(deps): update dependency vitest to v1.6.0 #19705
Annotations
7 errors
frontend/src/component/insights/componentsChart/UsersChart/UsersChart.tsx#L3
SyntaxError: Named export '_adapters' not found. The requested module 'chart.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'chart.js';
const { _adapters } = pkg;
❯ src/component/insights/componentsChart/UsersChart/UsersChart.tsx:3:31
|
frontend/src/component/insights/componentsChart/UsersChart/UsersChart.tsx#L3
SyntaxError: Named export '_adapters' not found. The requested module 'chart.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'chart.js';
const { _adapters } = pkg;
❯ src/component/insights/componentsChart/UsersChart/UsersChart.tsx:3:31
|
frontend/src/component/insights/componentsChart/UsersChart/UsersChart.tsx#L3
SyntaxError: Named export '_adapters' not found. The requested module 'chart.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'chart.js';
const { _adapters } = pkg;
❯ src/component/insights/componentsChart/UsersChart/UsersChart.tsx:3:31
|
frontend/src/component/insights/componentsChart/UsersChart/UsersChart.tsx#L3
SyntaxError: Named export '_adapters' not found. The requested module 'chart.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'chart.js';
const { _adapters } = pkg;
❯ src/component/insights/componentsChart/UsersChart/UsersChart.tsx:3:31
|
frontend/src/component/insights/componentsChart/UpdatesPerEnvironmentTypeChart/UpdatesPerEnvironmentTypeChart.tsx#L3
SyntaxError: Named export '_adapters' not found. The requested module 'chart.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'chart.js';
const { _adapters } = pkg;
❯ src/component/insights/componentsChart/UpdatesPerEnvironmentTypeChart/UpdatesPerEnvironmentTypeChart.tsx:3:31
|
frontend/src/component/insights/componentsChart/UsersChart/UsersChart.tsx#L3
SyntaxError: Named export '_adapters' not found. The requested module 'chart.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'chart.js';
const { _adapters } = pkg;
❯ src/component/insights/componentsChart/UsersChart/UsersChart.tsx:3:31
|
|
This job failed
Loading