build fail
vinson-zhang opened this issue · comments
Time: 11.617 s, estimated 33 s > 18 | <InlineSegmentGroup> | ^^^^^^^^^^^^^^^^^^ 19 | <div className="gf-form-group"> 20 | <h6>Frames</h6> 21 | <FormatSelect × Build failed error Command failed with exit code 1.
Is this plug-in working well now?
What command do you use to run the build?
yarn build
yarn run v1.22.18
$ grafana-toolkit plugin:build
Using Node.js v16.14.2
Using @grafana/toolkit v8.5.1
√ Preparing
√ Linting
PASS src/datasource.test.ts (5.91 s)
PASS src/specs/datasource.test.ts (5.917 s)
Test Suites: 2 passed, 2 total
Tests: 3 passed, 3 total
Snapshots: 0 total
Ran all test suites with tests matching "".
√ Running tests
/ Compiling... TS2559: Type '{ children: Element[]; }' has no properties in common with type 'IntrinsicAttributes & Props'.
16 | return (
17 | <>
> 18 | <InlineSegmentGroup>
| ^^^^^^^^^^^^^^^^^^
19 | <div className="gf-form-group">
20 | <h6>Frames</h6>
21 | <FormatSelect
Using @grafana/toolkit v8.5.1
√ Preparing
√ Linting
PASS src/datasource.test.ts
PASS src/specs/datasource.test.ts
Test Suites: 2 passed, 2 total
Tests: 3 passed, 3 total
Snapshots: 0 total
Time: 8.688 s
Ran all test suites with tests matching "".
√ Running tests
\ Compiling... TS2559: Type '{ children: Element[]; }' has no properties in common with type 'IntrinsicAttributes & Props'.
16 | return (
17 | <>
> 18 | <InlineSegmentGroup>
| ^^^^^^^^^^^^^^^^^^
19 | <div className="gf-form-group">
20 | <h6>Frames</h6>
21 | <FormatSelect
× Build failed
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I can't reproduce, can you attach the complete output of yarn build
? Also, can you make sure you run it on the head of the main
branch?
yes, I am using the main branch
Which commit in the main branch? Can you also run yarn install
first?
After git clone again、yarn install、yarn build, it works. I have build success. Thanks!