hello
my stack version 8.3.3 and OS ubuntu 22.04
I wanted to install a plugin from Github, but I'm working on the Debian thread for it, no matter what I did, it didn't install.
link custom plugin
directory kibana
/usr/share/kibana/
and
/etc/kibana/
file directory
custom-kibana-theme
use ls cmd
drwxr-xr-x ************ 4096 Jul 15 11:57 ./
drwxr-x--- ************ 4096 Jul 15 10:53 ../
drwxr-xr-x ************ 4096 Jul 12 15:39 docs/
-rwxr-xr-x ************ 182 Jul 12 15:39 .eslintrc.js*
drwxr-xr-x ************ 4096 Jul 12 15:39 .git/
-rwxr-xr-x ************ 15 Jul 12 15:39 .gitignore*
-rwxr-xr-x ************ 306 Jul 12 15:39 kibana.json*
-rwxr-xr-x ************ 234 Jul 12 15:39 package.json*
drwxr-xr-x ************ 4096 Jul 12 15:39 public/
-rwxr-xr-x ************ 2850 Jul 12 15:39 README.md*
-rwxr-xr-x ************ 221 Jul 12 15:39 tsconfig.json*
-rw-r--r-- 1 root root 86 Jul 15 11:56 yarn.lock
use yarn build to zip folder get this log:
yarn run v1.22.19
$ yarn plugin-helpers build
$ node ../../scripts/plugin_helpers build
internal/modules/cjs/loader.js:818
throw err;
^
Error: Cannot find module '/home/scripts/plugin_helpers'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
my config package.json
{
"name": "custom_kibana_theme",
"version": "0.0.0",
"private": true,
"scripts": {
"build": "yarn plugin-helpers build",
"plugin-helpers": "node ../../scripts/plugin_helpers",
"kbn": "node ../../scripts/kbn"
}
}
And I have to say that I am not a Kibana developer