NPM Package "smartbanner.js"

Hello,
I successfully installed the “smartbanner.js” package through the Editor X Dev Mode editor. Not a programmer, but I can usually snip and edit to make something work.

Problem:
How do I add code to make the “smartbanner” appear on my homepage.

My research into importing the package and calling the JS and CSS modules leads to countless possibilities and they haven’t worked.
Errors include: GET net::ERR_ABORTED 404, Refused to execute script because of MIME type errors

  1. I am using a premium plan

  2. I added addresses for links and media for the meta portion of the coding

  3. I added the meta tags and css/js code to the header for the Home page only using the Custom Code section in the website’s Dashboard.

  4. It appears that the webpage can’t see the js and css files or call them correctly.

Help, please.
Brian

^This is what the smartbanner.js page on npm says is required to call the needed modules. This resulting address “my site”/node_modules/etc… isn’t found, per the
devtools in Chrome.

I’m not familiar with this package, but it looks like it requires access to the DOM and therefore would not be supported. Perhaps someone who has worked with it before will have some other ideas.

What is the address for npm installed packages in WiX/X? https://mysite/etc…?