How to log output in a third party library?

HI.
I am using a third party library react-photo-gallery,
the width of the images is coming appearing different when I forked the repo and when I am using it in my app.

I wanted to do some console.log in the third party lib file in my app but not able to see any result in the browser.
Found file in node_modules but on adding console.log in file no result is produced, is it possible to do this?