Closed bver closed 8 years ago
You are missing some NodeJS core library (Probably Babel)... Instead of installing the plugin, just copy the files on a kbn_sunburst_vis folder in [Kibana_Home]/src/plugins.
Then remove (backup first) the kibana.* files on [Kibana_Home]/optimize/bundles, and restart Kibana (These files will be re-created) and the plugin added to Kibana.
Let me know how it goes.
2016-09-13 9:59 GMT-03:00 Pavel Suchmann notifications@github.com:
Hello, Just following your installation instructions, getting:
kbn_sunburst_vis> npm run build
kbn_sunburst_vis@1.0.0 build /home/pavel/zoom/asobu/kbn_sunburst_vis gulp build
[14:51:32] Requiring external module babel-register /home/pavel/zoom/asobu/kbn_sunburst_vis/gulpfile.babel.js:1 (function (exports, require, module, filename, dirname) { import gulp from 'gulp'; ^^^^^^
SyntaxError: Unexpected reserved word at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at loader (/home/pavel/zoom/asobu/kbn_sunburst_vis/node_modules/babel-register/lib/node.js:146:5) at Object.require.extensions.(anonymous function) as .js at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Liftoff.handleArguments (/home/pavel/zoom/asobu/kbn_sunburst_vis/node_modules/gulp/bin/gulp.js:116:3) at Liftoff.
(/home/pavel/zoom/asobu/kbn_sunburst_vis/node_modules/gulp/node_modules/liftoff/index.js:198:16) npm ERR! Linux 3.16.7-35-desktop npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "build" npm ERR! node v4.4.5 npm ERR! npm v2.15.5 npm ERR! code ELIFECYCLE npm ERR! kbn_sunburst_vis@1.0.0 build:
gulp build
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the kbn_sunburst_vis@1.0.0 build script 'gulp build'. npm ERR! This is most likely a problem with the kbn_sunburst_vis package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! gulp build npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs kbn_sunburst_vis npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls kbn_sunburst_vis npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /home/pavel/zoom/asobu/kbn_sunburst_vis/npm-debug.log
Am I doing it wrong? Pavel
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JuanCarniglia/kbn_sunburst_vis/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AOi0Oxxjy2aadFo9wWXSICL2FnCwzabvks5qpp4XgaJpZM4J7o_A .
Juan Ignacio Carniglia
Having files copied helped, thank you.
I was tempted to use build instructions from README.md -- perhaps some required dependencies are not declared in package.json or Kibana is incompatible (my version is kibana-4.6.1-linux-x86_64). It might affect other users later.
Anyway, I am now happy with the current state so feel free to close this issue.
Thanks for your plugin! Pavel
Hello, Just following your installation instructions, getting:
Am I doing it wrong? Pavel