NPM Package not working

Thanks @MVVeiga, but I meant how would I do it on Wix velo. Right now calling a require in the front end page code still gives me the same error. I’m going to try backend calls, but is there a proper standard that I should follow when doing this on Velo?