Open ankitagarwal10k opened 4 years ago
Could you try using the code from the 7-dev
branch? thanks!
I tried with that as well and still got the same issue. Is there any kind of changes which I am supposed to do in the files? I even tried by the git clone way of installing the plugin but unlucky
I've also tried running the 7-dev release (and tried the git clone method) with the same error. Running on Windows 10, Kibana 7.6.0.
FATAL Error: Optimizations failure. 9267 modules ERROR in ./plugins/network_vis/public/network_vis.js Module not found: Error: Can't resolve 'ui/vis/vis_factory' in 'C:\kibana-7.6.0-windows-x86_64\kibana-7.6.0-windows-x86_64\plugins\network_vis\public'
Got the same error with docker. ELK_VERSION=7.6.0
ARG ELK_VERSION
# https://www.docker.elastic.co/
FROM docker.elastic.co/kibana/kibana:${ELK_VERSION}
# Add your kibana plugins setup here
RUN curl -L https://github.com/dlumbrer/kbn_network/releases/download/7.5.X-1/network_vis-7.tar.gz | tar xz -C /usr/share/kibana/plugins
FATAL Error: Optimizations failure.
9267 modules
ERROR in ./plugins/network_vis/public/network_vis.js
Module not found: Error: Can't resolve 'ui/vis/vis_factory' in '/usr/share/kibana/plugins/network_vis/public'
@dlumbrer Any update if we could get a fix for it ? As I have to use it for one of the project requirement and can only be worked with the Network Plugin. Please respond ASAP.
Thanks, Ankit Agarwal
Hey @ankitagarwal10k , @StanGirard , @StuartSmith21 , did you get a work around this issue?
Working with a PATCH on #83 fixed it for me. Try this !
I tried the patch on the windows system but after the checkout step nothing worked for me.
It's weird ! May be we can help you with the patch installation. After the checkout step you have to apply the patch with the git command.
Did you have an error with this step ? Could you give us more details ?
Hi,
I tried using the Kibana network plugin on my Ubuntu 18 version by downloading the latest version of the network plugin tar.gz file as the Kibana version on my system is 7.6 But when I start the Kibana service - it fails with the below mentioned error in the logs:
**> FATAL Error: Optimizations failure.
Below is the details of package.json file
**> {
And below is the content in the network_vis.js file
**> import "plugins/network_vis/network_vis.less";
I am unable to get a proper resolution for it from anywhere on the google or the digitalocean website.
Can anyone help me here with this issue ? How can this be resolved and what changes will I have to make?