Skip to content

kibana-keystore create Cannot find module './babel_register' #79472

@LeeDr

Description

@LeeDr

Kibana version: 7.x (7.10.0-SNAPSHOT)

Elasticsearch version: 7.x (7.10.0-SNAPSHOT)

Server OS version: Ubuntu 16.04

Browser version: n/a

Browser OS version: n/a

Original install method (e.g. download page, yum, from source, etc.): tar.gz default dist

Describe the bug: kibana-keystore create fails with Cannot find module './babel_register'

Steps to reproduce:

  1. download default distribution of master kibana tar.gz
  2. extract the files
  3. run kibana-keystore create

Expected behavior: Should successfully create the keystore file

Screenshots (if relevant):

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

00:25:08.230 ++ /home/vagrant/kibana/bin/kibana-keystore create
00:25:08.230 Error: Cannot find module './babel_register'
00:25:08.230     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
00:25:08.230     at Module.Hook._require.Module.require (/home/vagrant/kibana/node_modules/require-in-the-middle/index.js:51:29)
00:25:08.230     at require (internal/modules/cjs/helpers.js:25:18)
00:25:08.231     at Object.<anonymous> (/home/vagrant/kibana/src/setup_node_env/index.js:23:1)
00:25:08.231     at Module._compile (internal/modules/cjs/loader.js:778:30)
00:25:08.231     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
00:25:08.232     at Module.load (internal/modules/cjs/loader.js:653:32)
00:25:08.232     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
00:25:08.232     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
00:25:08.232     at Module.require (internal/modules/cjs/loader.js:692:17)

Any additional context: This worked on 7.x at least up until the snapshot on Oct 2nd.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions