How do I properly add an NPM package to my Kibana 6.2.3 plugin?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



How do I properly add an NPM package to my Kibana 6.2.3 plugin?



I started using a simple NPM package (timemachine) in my Kibana plugin. I did npm install timemachine on my machine, and everything works fine in my dev Kibana environment.


npm install timemachine



Deploying the plugin to a real Kibana (6.2.3), timemachine doesn't exist. I tried adding "timemachine": "0.3.0", to the package.json in my plugin, but that didn't help.


timemachine


"timemachine": "0.3.0",


package.json



What's the proper way to add it?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS