Command 'npm run build' fails at "_build:pleaseRun" task


#1

Hi all, I'm trying to run "build" command but it fails at pleaseRun task, this is error log:

Running "_build:pleaseRun" task

pleaserun --install --no-install-actions --install-prefix /home/vrossi/Scrivania/Workspace/kibana2/build/services/launchd --overwrite --name kibana --description Kibana --user kibana --group kibana --sysv-log-path /var/log/kibana/ -p launchd -v 10.9 /usr/share/kibana/bin/kibana -c /etc/kibana/kibana.yml
Warning: spawnSync pleaserun ENOENT Use --force to continue.

Aborted due to warnings.

Anyone can help me?


(Shaunak Kashyap) #2

Hi @valereds,

What operating system are you running that command on?

Thanks,

Shaunak


#3

Hi @shaunak,
I'm using Linux distro CentOS 7 .


(Shaunak Kashyap) #4

Thanks. Building on CentOS should work.

There are a few (non-npm-controlled) dependencies needed to build OS packages for Kibana. They are listed over here. Could you double check that you have them all installed?

Also, in case you aren't interested in OS packages, you can run npm run build -- --skip-os-packages. That will only produce the .tar.gz and .zip builds.

Hope that helps,

Shaunak


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.