How To Print Using NPM Package print-js

Hey guys,
I am trying to leverage the print-js npm package to print images from my site. I have successfully added the package in the Packages section.

From their documentation:

My code is as follows:

import printJS from 'printJS';

export function print1Button_click(event) {
    printJS('https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Image_created_with_a_mobile_phone.png/220px-Image_created_with_a_mobile_phone.png', 'image');    
}

When my page loads, I get the following error:

“workerLogger.js:103 Cannot find module ‘printJS’ in ‘public/pages/ycdhg.js’”

Any help is appreciated.

Could this ever be solved?