Importing mediasoup-client on javascript

Hello I am trying to use mediasoup-client on javascript to get the RtpCapabilities of the producer but i got the following error:
Loading module from “http://localhost/js/mediasoup-client/” was blocked because of a disallowed MIME type (“text/html”).