-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Expand file tree
/
Copy pathkbn.js
More file actions
18 lines (17 loc) · 905 Bytes
/
Copy pathkbn.js
File metadata and controls
18 lines (17 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
// When running kbn.js, bootstrap is not done yet, package links are not established
// So we use direct relative paths to the setup_node_env files
/* eslint-disable @kbn/imports/uniform_imports */
require('../src/setup_node_env/root');
require('../src/setup_node_env/node_version_validator');
import('../src/dev/kbn_pm/src/cli.mjs').catch(function (error) {
console.error('UNHANDLED EXCEPTION:', error.stack);
process.exit(1);
});