Kibaba error while bootstraping

hi, i have a problem when i try to bootstrap kibana, at first i ran " yarn kbn clean " then ran "yarn kbn bootstrap" but:
succ 25 bootstrap builds are cached info [@kbn/test] running [kbn:bootstrap] script ERROR [bootstrap] failed: ERROR Error: Command failed with exit code 1: /home/abolfazl/.nvm/versions/node/v14.16.0/lib/node_modules/yarn/bin/yarn.js run kbn:bootstrap error Command failed with exit code 1. $ node scripts/build --source-maps info Deleting old output info Starting babel and typescript info [babel ] > babel src --config-file /home/abolfazl/bda-web/packages/kbn-test/babel.config.js --out-dir /home/abolfazl/bda-web/packages/kbn-test/target --extensions .ts,.js,.tsx --quiet --source-maps inline info [tsc ] > tsc --declarationMap true info [babel ] exited with 0 after a few seconds proc [tsc ] src/functional_test_runner/lib/snapshots/decorate_snapshot_ui.ts(164,7): error TS2578: Unused '@ts-expect-error' directive. proc [tsc ] src/jest/utils/enzyme_helpers.tsx(58,17): error TS2742: The inferred type of 'shallowWithIntl' cannot be named without a reference to 'enzyme/node_modules/@types/react'. This is likely not portable. A type annotation is necessary. proc [tsc ] src/jest/utils/enzyme_helpers.tsx(81,17): error TS2742: The inferred type of 'mountWithIntl' cannot be named without a reference to 'enzyme/node_modules/@types/react'. This is likely not portable. A type annotation is necessary. proc [tsc ] src/jest/utils/enzyme_helpers.tsx(197,17): error TS2742: The inferred type of 'shallowWithI18nProvider' cannot be named without a reference to 'enzyme/node_modules/@types/react'. This is likely not portable. A type annotation is necessary. proc [tsc ] src/jest/utils/enzyme_helpers.tsx(203,17): error TS2742: The inferred type of 'mountWithI18nProvider' cannot be named without a reference to 'enzyme/node_modules/@types/react'. This is likely not portable. A type annotation is necessary. proc [tsc ] src/jest/utils/find_test_subject.ts(35,14): error TS2742: The inferred type of 'findTestSubject' cannot be named without a reference to 'enzyme/node_modules/@types/react'. This is likely not portable. A type annotation is necessary. ERROR UNHANDLED ERROR ERROR Error: [tsc ] exited with code 1 at Object.createCliError (/home/abolfazl/bda-web/packages/kbn-dev-utils/target/proc_runner/errors.js:13:19) at MapSubscriber.project (/home/abolfazl/bda-web/packages/kbn-dev-utils/target/proc_runner/proc.js:78:28) at MapSubscriber._next (/home/abolfazl/bda-web/node_modules/rxjs/internal/operators/map.js:49:35) at MapSubscriber.Subscriber.next (/home/abolfazl/bda-web/node_modules/rxjs/internal/Subscriber.js:66:18) at TakeSubscriber._next (/home/abolfazl/bda-web/node_modules/rxjs/internal/operators/take.js:54:30) at TakeSubscriber.Subscriber.next (/home/abolfazl/bda-web/node_modules/rxjs/internal/Subscriber.js:66:18) at ChildProcess.handler (/home/abolfazl/bda-web/node_modules/rxjs/internal/observable/fromEvent.js:19:28) at ChildProcess.emit (events.js:327:22) at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. at makeError (/home/abolfazl/bda-web/packages/kbn-pm/dist/index.js:34983:11) at handlePromise (/home/abolfazl/bda-web/packages/kbn-pm/dist/index.js:33917:26) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async /home/abolfazl/bda-web/packages/kbn-pm/dist/index.js:8982:9 at async scheduleItem (/home/abolfazl/bda-web/packages/kbn-pm/dist/index.js:22633:9) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.