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

npm run build -- --skip-os-packages fails on Windows "Cannot read property 'licenses' of undefined" #11408

Closed
LeeDr opened this issue Apr 25, 2017 · 1 comment · Fixed by #11439
Labels
bug Fixes for quality problems that affect the customer experience build Team:Operations Team label for Operations Team

Comments

@LeeDr
Copy link

LeeDr commented Apr 25, 2017

Kibana version: master

Elasticsearch version:

Server OS version: Windows 10

Browser version:

Browser OS version:

Original install method (e.g. download page, yum, from source, etc.): git clone

Description of the problem including expected versus actual behavior:
npm run build -- --skip-os-packages fails on Windows with;

Running "_build:notice" task
Fatal error: Cannot read property 'licenses' of undefined

Steps to reproduce:

  1. git clone Kibana
  2. npm install
  3. npm run build -- --skip-os-packages

Errors in browser console (if relevant):

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

@LeeDr LeeDr added Team:Operations Team label for Operations Team bug Fixes for quality problems that affect the customer experience labels Apr 25, 2017
@epixa epixa added build bug Fixes for quality problems that affect the customer experience and removed bug Fixes for quality problems that affect the customer experience labels Apr 25, 2017
@weishionshi
Copy link

I have the same problem,so how is this bug going?
error message:
Running "copy:devSource" (copy) task
Created 343 directories, copied 1414 files

Running "babel:build" (babel) task

Running "_build:babelOptions" task

Running "_build:plugins" task

Running "_build:data" task

Running "_build:packageJson" task

Running "_build:readme" task

Running "_build:babelCache" task

Running "_build:installNpmDeps" task

Running "_build:notice" task
Fatal error: Cannot read property 'licenses' of undefined

Kibana version: 5.2
Server OS version: Windows 7
npm run build

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

Successfully merging a pull request may close this issue.

3 participants