Created 12-08-2017 06:49 PM
"Cannot find module 'tough-cookie'" is the same error you get when you are on the wrong C++ compiler version. I would check that again.
Created 12-11-2017 02:59 PM
So after a lot of mostly random debugging i found a solution :)
even if i did everything mention so far i got failed on "metron-config" it kept asking for modules like, tough-cookie, safe-json-stringify, json-stringify-safe, stringstream, caseless ..... (although i can find the folders and files for these).
so what i did: (including above about gcc)
after this fails the first time:
mvn clean package -DskipTests -T 2C -P HDP-2.5.0.0,mpack
i did:
cd /location/metron/metron-interface/metron-config npm install npm install #read somewhere that doing double is the way to go cd /location/metron/ #backto original metron location mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpac
then i got success on all :)
hope this helps other people :)
Created 12-12-2017 07:03 AM
It also worked for me! I had an error related to npm, but after doing these steps i got no error. Thanks.
Created 05-10-2018 12:49 PM
I had the similar question, when I donot added the install-node-and-npm goals in the pom.xml; if i added, the question not; so i want to ask whethet i must add the install-node-and-npm in the pom.xml, whether my pc installed the node or not, thanks.