What is mixed content Error

javascript

#1

I just got a new job and I have this repo of our admin panel site which was built upon next.js+expess.js server and React-redux app. But while setting it up with npm install -d I was facing errors mentioned in this issue on node’s repo which I have created as well : https://github.com/nodejs/node-gyp/issues/1599

to which there was a work around given just 3 days ago on other issue which is similar to this one: https://github.com/grpc/grpc-node/issues/594 in which I just have to install the node-pre-gyp module with npm install node-pre-gyp --build-from-source

The error was due to mixed content error because npm tries to go to google cloud/server which to download binaries for build and which has both http and https resources so it was conflicting error.

So my senior at company had asked me things really badly and kept on asking why this issue and why this fix will only be working. Even though I answered with correctness of what I have understood I was kinda made to doubt myself.

So now I have been given to read Mixed content error I would like to know about it from you guys.And please let me know how to not get frustrated even after such bully behaviour and correct answers.