如何在非节点环境中使用npm软件包?

I am trying to use the AWS Chime service to create a meeting application. My code uses the npm package amazon-chime-sdk-js package on the client-side. But, the import statement is unable to resolve the identifier for the package.

Here's what my console logs

我该如何解决?