TheHive-Project / TheHive

TheHive: a Scalable, Open Source and Free Security Incident Response Platform
https://thehive-project.org
GNU Affero General Public License v3.0
3.28k stars 606 forks source link

[Question] Frontend compilation failed with dependency issue with grunt-connect-proxy #2380

Open peacand opened 2 years ago

peacand commented 2 years ago

Request Type

Question : frontend build from sources

Work Environment

Question Answer
OS version (server) Debian
OS version (client) Windows 10
Virtualized Env. True / False
Dedicated RAM 8 GB
vCPU 2
TheHive version / git hash 4.1.19
Package Type From source
Database BerlkelyDB
Index type Lucene
Attachments storage Local

Question

Hi,

I'm trying to build theHive 4.1.19. The frontend compilation failed with a dependency error related to grunt-connect-proxy.

Basically :

So there is a broken dependency here. I've managed to fix it by changing the dependency with grunt-connect-proxy2. Which is a fork but without the hard dependency with grunt@0.4.1. This one is working with grunt newer versions.

Did I miss something ? Could someone explain me the official way to build theHive4 without having this dependency issue ?

Thank you for your help

priamai commented 2 years ago

Plus one of this thanks for the fix I never managed to compile it!