NPM package including issue - https://www.npmjs.com/package/@material/material-color-utilities

I want to include this package @material/material-color-utilities - npm in my app, I followed the documentation for asset building and added package.
But i am getting this error


What is the right way to include a npm package and how to use it my custom js file ?