Code Monkey home page Code Monkey logo

Comments (5)

nreese avatar nreese commented on July 18, 2024

Unzip the release in the plugin folder. Delete everything under optimize/bundle and restart the kibana process.

from kibana-time-plugin.

Shifter2600 avatar Shifter2600 commented on July 18, 2024

Seems there are missing files from the plugin .
Module not found: Error: Cannot resolve 'file' or 'directory' /usr/share/kibana/plugins/kibana-time-plugin/public/bower_components/bootstrap-addons/dist/css/bootstrap-addons.css in /usr/share/kibana/plugins/kibana-time-plugin/public\n @ ./plugins/kibana-time-plugin/public/time.js 11:0-101\n \n ERROR in ./plugins/kibana-time-plugin/public/time.js\n Module not found: Error: Cannot resolve 'file' or 'directory' /usr/share/kibana/plugins/kibana-time-plugin/public/bower_components/bootstrap-addons/dist/js/bootstrap-addons.js in /usr/share/kibana/plugins/kibana-time-plugin/public\n @ ./plugins/kibana-time-plugin/public/time.js 13:0-99\n","error":{"message":"Optimizations failure.\n\n \u001b[1m\u001b[31mERROR in ./plugins/kibana-time-plugin/public/time.js\n Module not found: Error: Cannot resolve 'file' or 'directory' /usr/share/kibana/plugins/kibana-time-plugin/public/bower_components/bootstrap-addons/dist/css/bootstrap-addons.css in /usr/share/kibana/plugins/kibana-time-plugin/public\n @ ./plugins/kibana-time-plugin/public/time.js 11:0-101\u001b[39m\u001b[22m\n \n \u001b[1m\u001b[31mERROR in ./plugins/kibana-time-plugin/public/time.js\n Module not found: Error: Cannot resolve 'file' or 'directory' /usr/share/kibana/plugins/kibana-time-plugin/public/bower_components/bootstrap-addons/dist/js/bootstrap-addons.js in /usr/share/kibana/plugins/kibana-time-plugin/public\n @ ./plugins/kibana-time-plugin/public/time.js 13:0-99\u001b[39m\u001b[22m\n","name":"Error","stack":"Error: Optimizations failure.\n\n \u001b[1m\u001b[31mERROR in ./plugins/kibana-time-plugin/public/time.js\n Module not found: Error: Cannot resolve 'file' or 'directory' /usr/share/kibana/plugins/kibana-time-plugin/public/bower_components/bootstrap-addons/dist/css/bootstrap-addons.css in /usr/share/kibana/plugins/kibana-time-plugin/public\n @ ./plugins/kibana-time-plugin/public/time.js 11:0-101\u001b[39m\u001b[22m\n \n \u001b[1m\u001b[31mERROR in ./plugins/kibana-time-plugin/public/time.js\n Module not found: Error: Cannot resolve 'file' or 'directory' /usr/share/kibana/plugins/kibana-time-plugin/public/bower_components/bootstrap-addons/dist/js/bootstrap-addons.js in /usr/share/kibana/plugins/kibana-time-plugin/public\n @ ./plugins/kibana-time-plugin/public/time.js 13:0-99\u001b[39m\u001b[22m\n\n at FsOptimizer.failedStatsToError (/usr/share/kibana/src/optimize/base_optimizer.js:233:27)\n at /usr/share/kibana/src/optimize/fs_optimizer.js:33:30\n at Compiler. (/usr/share/kibana/node_modules/webpack/lib/Compiler.js:181:13)\n at /usr/share/kibana/node_modules/webpack/lib/Compiler.js:403:12\n at Compiler.next (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:67:11)\n at Compiler. (/usr/share/kibana/node_modules/webpack/lib/CachePlugin.js:40:4)\n at Compiler.applyPluginsAsync (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:71:13)\n at Compiler. (/usr/share/kibana/node_modules/webpack/lib/Compiler.js:400:9)\n at Compilation. (/usr/share/kibana/node_modules/webpack/lib/Compilation.js:577:13)\n at Compilation.applyPluginsAsync (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:60:69)\n at Compilation. (/usr/share/kibana/node_modules/webpack/lib/Compilation.js:572:10)\n at Compilation.next (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:67:11)\n at Compilation. (/usr/share/kibana/node_modules/webpack/lib/optimize/UglifyJsPlugin.js:140:4)\n at Compilation.applyPluginsAsync (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:71:13)\n at Compilation. (/usr/share/kibana/node_modules/webpack/lib/Compilation.js:567:9)\n at Compilation.next (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:67:11)\n at ExtractTextPlugin. (/usr/share/kibana/node_modules/extract-text-webpack-plugin/index.js:303:4)\n at Compilation.applyPluginsAsync (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:71:13)\n at Compilation. (/usr/share/kibana/node_modules/webpack/lib/Compilation.js:563:8)\n at Compilation.next (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:67:11)\n at ExtractTextPlugin. (/usr/share/kibana/node_modules/extract-text-webpack-plugin/index.js:279:5)\n at /usr/share/kibana/node_modules/async/lib/async.js:52:16"}}

from kibana-time-plugin.

nreese avatar nreese commented on July 18, 2024

you have to run bower install to fetch the dependencies

from kibana-time-plugin.

Shifter2600 avatar Shifter2600 commented on July 18, 2024

So i have the files extracted on the host in /plugins the host is running docker and the container in docker has a volume mapped to /plugins.
Can bower install be ran outside the container on the host to prepare the /plugins/kibana-time-plugin?

from kibana-time-plugin.

Shifter2600 avatar Shifter2600 commented on July 18, 2024

NM the last message I did the bower install on the Host and it all worked. Thx You can close this.

from kibana-time-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.