We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I copied the repository as it is I have win10 SO I run: yarn install yarn build
But I have follow error: yarn build yarn run v1.22.5 $ webpack --config build/webpack.prod.conf.js Hash: 4e03c5af44b440fa3daa Version: webpack 4.44.2 Time: 24124ms Built at: 06/02/2021 22:10:36 3 assets Entrypoint ./module = ./module.js ./css/panel.light.css ./css/panel.dark.css [0] external "lodash" 42 bytes {0} [built] [1] external "@grafana/data" 42 bytes {0} [built] [2] external "react" 42 bytes {0} [built] [4] external "@grafana/ui" 42 bytes {0} [built] [5] external "app/core/core" 42 bytes {0} [built] [6] external "moment" 42 bytes {0} [built] [7] external "@grafana/runtime" 42 bytes {0} [built] [9] external "app/plugins/sdk" 42 bytes {0} [built] [10] ./module.ts + 7 modules 35.2 KiB {0} [built] | ./module.ts 28 KiB [built] | ./partials/module.html 1.45 KiB [built] | ./timepicker.ts 284 bytes [built] | ./graph_tooltip.ts 1.73 KiB [built] | ./utils.ts 193 bytes [built] | ./utils/version.ts 1.4 KiB [built] | ./react2angular/index.ts 449 bytes [built] | ./react2angular/ConfigProvider.tsx 1.69 KiB [built] [11] ./sass/panel.dark.scss 41 bytes [built] [13] ../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!./sass/panel.dark.scss 979 bytes [built] [15] ./sass/panel.light.scss 41 bytes [built] [16] ../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!./sass/panel.light.scss 979 bytes [built] + 4 hidden modules
ERROR in Grafana-plugins\grafana-chartwerk-app\src\module.ts [tsl] ERROR in Grafana-plugins\grafana-chartwerk-app\src\module.ts(506,5) TS2322: Type '{ eventsCallbacks: { zoomIn: any; zoomOut: any; mouseMove: any; mouseOut: any; onLegendClick: any; }; timeInterval: { count: number; timeFormat: TimeFormat; }; tickFormat: { xAxis: string; xTickOrientation: TickOrientation; }; ... 4 more ...; timeRange: { ...; }; }' is not assignable to type 'ChartwerkOptions'. Type '{ eventsCallbacks: { zoomIn: any; zoomOut: any; mouseMove: any; mouseOut: any; onLegendClick: any; }; timeInterval: { count: number; timeFormat: TimeFormat; }; tickFormat: { xAxis: string; xTickOrientation: TickOrientation; }; ... 4 more ...; timeRange: { ...; }; }' is not assignable to type 'BarOptions'. Type '{ eventsCallbacks: { zoomIn: any; zoomOut: any; mouseMove: any; mouseOut: any; onLegendClick: any; }; timeInterval: { count: number; timeFormat: TimeFormat; }; tickFormat: { xAxis: string; xTickOrientation: TickOrientation; }; ... 4 more ...; timeRange: { ...; }; }' is not assignable to type 'Options'. Types of property 'eventsCallbacks' are incompatible. Property 'onLegendLabelClick' is missing in type '{ zoomIn: any; zoomOut: any; mouseMove: any; mouseOut: any; onLegendClick: any; }' but required in type '{ zoomIn: (range: [[number, number], [number, number]]) => void; zoomOut: (center: number) => void; mouseMove: (evt: any) => void; mouseOut: () => void; onLegendClick: (idx: number) => void; onLegendLabelClick: (idx: number) => void; }'. Child extract-text-webpack-plugin ../node_modules/extract-text-webpack-plugin/dist ../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!sass/panel.dark.scss: Entrypoint undefined = extract-text-webpack-plugin-output-filename [0] ../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!./sass/panel.dark.scss 979 bytes {0} [built] + 1 hidden module Child extract-text-webpack-plugin ../node_modules/extract-text-webpack-plugin/dist ../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!sass/panel.light.scss: Entrypoint undefined = extract-text-webpack-plugin-output-filename [0] ../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!./sass/panel.light.scss 979 bytes {0} [built] + 1 hidden module error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I copied the repository as it is I have win10 SO
I run:
yarn install
yarn build
But I have follow error:
yarn build
yarn run v1.22.5
$ webpack --config build/webpack.prod.conf.js
Hash: 4e03c5af44b440fa3daa
Version: webpack 4.44.2
Time: 24124ms
Built at: 06/02/2021 22:10:36
3 assets
Entrypoint ./module = ./module.js ./css/panel.light.css ./css/panel.dark.css
[0] external "lodash" 42 bytes {0} [built]
[1] external "@grafana/data" 42 bytes {0} [built]
[2] external "react" 42 bytes {0} [built]
[4] external "@grafana/ui" 42 bytes {0} [built]
[5] external "app/core/core" 42 bytes {0} [built]
[6] external "moment" 42 bytes {0} [built]
[7] external "@grafana/runtime" 42 bytes {0} [built]
[9] external "app/plugins/sdk" 42 bytes {0} [built]
[10] ./module.ts + 7 modules 35.2 KiB {0} [built]
| ./module.ts 28 KiB [built]
| ./partials/module.html 1.45 KiB [built]
| ./timepicker.ts 284 bytes [built]
| ./graph_tooltip.ts 1.73 KiB [built]
| ./utils.ts 193 bytes [built]
| ./utils/version.ts 1.4 KiB [built]
| ./react2angular/index.ts 449 bytes [built]
| ./react2angular/ConfigProvider.tsx 1.69 KiB [built]
[11] ./sass/panel.dark.scss 41 bytes [built]
[13] ../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!./sass/panel.dark.scss 979 bytes [built]
[15] ./sass/panel.light.scss 41 bytes [built]
[16] ../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!./sass/panel.light.scss 979 bytes [built]
+ 4 hidden modules
ERROR in Grafana-plugins\grafana-chartwerk-app\src\module.ts
[tsl] ERROR in Grafana-plugins\grafana-chartwerk-app\src\module.ts(506,5)
TS2322: Type '{ eventsCallbacks: { zoomIn: any; zoomOut: any; mouseMove: any; mouseOut: any; onLegendClick: any; }; timeInterval: { count: number; timeFormat: TimeFormat; }; tickFormat: { xAxis: string; xTickOrientation: TickOrientation; }; ... 4 more ...; timeRange: { ...; }; }' is not assignable to type 'ChartwerkOptions'.
Type '{ eventsCallbacks: { zoomIn: any; zoomOut: any; mouseMove: any; mouseOut: any; onLegendClick: any; }; timeInterval: { count: number; timeFormat: TimeFormat; }; tickFormat: { xAxis: string; xTickOrientation: TickOrientation; }; ... 4 more ...; timeRange: { ...; }; }' is not assignable to type 'BarOptions'.
Type '{ eventsCallbacks: { zoomIn: any; zoomOut: any; mouseMove: any; mouseOut: any; onLegendClick: any; }; timeInterval: { count: number; timeFormat: TimeFormat; }; tickFormat: { xAxis: string; xTickOrientation: TickOrientation; }; ... 4 more ...; timeRange: { ...; }; }' is not assignable to type 'Options'.
Types of property 'eventsCallbacks' are incompatible.
Property 'onLegendLabelClick' is missing in type '{ zoomIn: any; zoomOut: any; mouseMove: any; mouseOut: any; onLegendClick: any; }' but required in type '{ zoomIn: (range: [[number, number], [number, number]]) => void; zoomOut: (center: number) => void; mouseMove: (evt: any) => void; mouseOut: () => void; onLegendClick: (idx: number) => void; onLegendLabelClick: (idx: number) => void; }'.
Child extract-text-webpack-plugin ../node_modules/extract-text-webpack-plugin/dist ../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!sass/panel.dark.scss:
Entrypoint undefined = extract-text-webpack-plugin-output-filename
[0] ../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!./sass/panel.dark.scss 979 bytes {0} [built]
+ 1 hidden module
Child extract-text-webpack-plugin ../node_modules/extract-text-webpack-plugin/dist ../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!sass/panel.light.scss:
Entrypoint undefined = extract-text-webpack-plugin-output-filename
[0] ../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!./sass/panel.light.scss 979 bytes {0} [built]
+ 1 hidden module
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: