The error is as follows :
Package poppler-qt5 was not found in the pkg-config search path.
npm ERR! Perhaps you should add the directory containing `poppler-qt5.pc'
npm ERR! to the PKG_CONFIG_PATH environment variable
npm ERR! No package 'poppler-qt5' found
npm ERR! gyp: Call to 'pkg-config --cflags cairo poppler-qt5' returned exit status 1 while in binding.gyp. while trying to load binding.gyp

The error is as follows :
Package poppler-qt5 was not found in the pkg-config search path.
npm ERR! Perhaps you should add the directory containing `poppler-qt5.pc'
npm ERR! to the PKG_CONFIG_PATH environment variable
npm ERR! No package 'poppler-qt5' found
npm ERR! gyp: Call to 'pkg-config --cflags cairo poppler-qt5' returned exit status 1 while in binding.gyp. while trying to load binding.gyp