Could you please help me with an error which pop up during installation of Canvas plugin in Kibana 6.4.1?
On Optimizing and caching browser bundles I am getting:
"Plugin installation was unsuccessful due to error "Command failed: /usr/share/kibana/node/bin/node /usr/share/kibana/src/cli --env.name=production --optimize.useBundleCache=false --server.autoListen=false --plugins.initialize=false --uiSettings.enabled=false
(node:68640) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
ERROR in ./plugins/canvas/public/components/workpad_export/utils.js
Module not found: Error: Can't resolve 'plugins/reporting/services/export_types' in '/usr/share/kibana/plugins/canvas/public/components/workpad_export'
ERROR in ./plugins/canvas/public/components/workpad_export/index.js
Module not found: Error: Can't resolve 'plugins/reporting/services/job_completion_notifications' in '/usr/share/kibana/plugins/canvas/public/components/workpad_export'"
This is what I am getting when I try to start Kibana:
{"type":"error","@timestamp":"2018-11-13T14:06:19Z","tags":["fatal"],"pid":15556,"level":"fatal","error":{"message":"Optimizations failure.\n 10598 modules\n \n \u001b[1m\u001b[31mERROR in ./plugins/canvas/public/components/workpad_export/utils.js\n Module not found: Error: Can't resolve 'plugins/reporting/services/export_types' in '/usr/share/kibana/plugins/canvas/public/components/workpad_export'\u001b[39m\u001b[22m\n \n \u001b[1m\u001b[31mERROR in ./plugins/canvas/public/components/workpad_export/index.js\n Module not found: Error: Can't resolve 'plugins/reporting/services/job_completion_notifications' in '/usr/share/kibana/plugins/canvas/public/components/workpad_export'\u001b[39m\u001b[22m\n","name":"Error","stack":"Error: Optimizations failure.\n 10598 modules\n \n \u001b[1m\u001b[31mERROR in ./plugins/canvas/public/components/workpad_export/utils.js\n Module not found: Error: Can't resolve 'plugins/reporting/services/export_types' in '/usr/share/kibana/plugins/canvas/public/components/workpad_export'\u001b[39m\u001b[22m\n \n \u001b[1m\u001b[31mERROR in ./plugins/canvas/public/components/workpad_export/index.js\n Module not found: Error: Can't resolve 'plugins/reporting/services/job_completion_notifications' in '/usr/share/kibana/plugins/canvas/public/components/workpad_export'\u001b[39m\u001b[22m\n\n at FsOptimizer.failedStatsToError (/usr/share/kibana/src/optimize/base_optimizer.js:378:27)\n at compiler.run (/usr/share/kibana/src/optimize/fs_optimizer.js:47:26)\n at onCompiled (/usr/share/kibana/node_modules/webpack/lib/Compiler.js:241:12)\n at applyPluginsAsync.err (/usr/share/kibana/node_modules/webpack/lib/Compiler.js:514:14)\n at next (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:202:11)\n at Compiler. (/usr/share/kibana/node_modules/webpack/lib/CachePlugin.js:78:5)\n at Compiler.applyPluginsAsyncSeries (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:206:13)\n at compilation.seal.err (/usr/share/kibana/node_modules/webpack/lib/Compiler.js:511:11)\n at Compilation.applyPluginsAsyncSeries (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:195:46)\n at self.applyPluginsAsync.err (/usr/share/kibana/node_modules/webpack/lib/Compilation.js:671:19)\n at Compilation.applyPluginsAsyncSeries (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:195:46)\n at self.applyPluginsAsync.err (/usr/share/kibana/node_modules/webpack/lib/Compilation.js:662:11)\n at next (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:202:11)\n at /usr/share/kibana/node_modules/uglifyjs-webpack-plugin/dist/index.js:282:11\n at step (/usr/share/kibana/node_modules/uglifyjs-webpack-plugin/dist/uglify/index.js:90:11)\n at done (/usr/share/kibana/node_modules/uglifyjs-webpack-plugin/dist/uglify/index.js:99:22)\n at /usr/share/kibana/node_modules/uglifyjs-webpack-plugin/dist/uglify/index.js:105:15\n at /usr/share/kibana/node_modules/worker-farm/lib/farm.js:191:19\n at _combinedTickCallback (internal/process/next_tick.js:131:7)\n at process._tickCallback (internal/process/next_tick.js:180:9)"},"message":"Optimizations failure.\n 10598 modules\n \n ERROR in ./plugins/canvas/public/components/workpad_export/utils.js\n Module not found: Error: Can't resolve 'plugins/reporting/services/export_types' in '/usr/share/kibana/plugins/canvas/public/components/workpad_export'\n \n ERROR in ./plugins/canvas/public/components/workpad_export/index.js\n Module not found: Error: Can't resolve 'plugins/reporting/services/job_completion_notifications' in '/usr/share/kibana/plugins/canvas/public/components/workpad_export'\n"}
just need to remove unnecessary x-pack settings from kibana.yaml: #xpack.security.enabled: false #xpack.reporting.enabled: false #xpack.graph.enabled: false
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.