kibana: 7.1.1
node: 10.15.2
yarn: 1.16.0
os: mac os 10.14.5
P.S. behind proxy
yarn kbn bootstrap:
@kbn/config-schema: $ yarn build
@elastic/datemath: $ yarn build --quiet
@kbn/config-schema: $ tsc
@elastic/datemath: $ babel src --out-dir target --copy-files --quiet
@kbn/config-schema: ../../node_modules/typescript/lib/lib.es2019.object.d.ts(28,81): error TS2322: Type 'string | number | symbol' is not assignable to type 'string'.
@kbn/config-schema: Type 'number' is not assignable to type 'string'.
@kbn/config-schema: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
✖ @kbn/config-schema: error Command failed with exit code 2.
@kbn/config-schema: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
✖ @kbn/config-schema: error Command failed with exit code 2.
[bootstrap] failed:
Error: Command failed: yarn run kbn:bootstrap
error Command failed with exit code 2.
error Command failed with exit code 2.
$ yarn build
$ tsc
../../node_modules/typescript/lib/lib.es2019.object.d.ts(28,81): error TS2322: Type 'string | number | symbol' is not assignable to type 'string'.
Type 'number' is not assignable to type 'string'.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
at makeError (/Users/lidan/suning/kibana-7.1.1/packages/kbn-pm/dist/index.js:14155:9)
at Promise.all.then.arr (/Users/lidan/suning/kibana-7.1.1/packages/kbn-pm/dist/index.js:14259:16)
at process._tickCallback (internal/process/next_tick.js:68:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.