Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
LeeDr opened this issue Oct 5, 2020 · 1 comment · Fixed by #79409
Closed

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

LeeDr opened this issue Oct 5, 2020 · 1 comment · Fixed by #79409
Labels
blocker bug Fixes for quality problems that affect the customer experience Feature:Build Packaging regression Team:Operations Team label for Operations Team

Comments

@LeeDr
Copy link

LeeDr commented Oct 5, 2020

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.

@LeeDr LeeDr added bug Fixes for quality problems that affect the customer experience blocker Team:Operations Team label for Operations Team regression Feature:Build Packaging labels Oct 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Fixes for quality problems that affect the customer experience Feature:Build Packaging regression Team:Operations Team label for Operations Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants