Closed campbelljlowman closed 7 months ago
Hey there, I hope we are doing it the right way but I am getting same error.
I ended up just going into the source code and using the endpoints they use on my own API calls. That'll probably be quicker than resolving this :)
I'm new to nodejs and I can't figure out how I'm supposed to import the package. My index.js looks like this:
const sdv = require("sportsdataverse")
But when I run it gives me this error:
If I change my package type to "module", I get the same error
It doesn't seem like anyone else has had this problem, so I'm thinking it's something to do with my setup. Any help would be appreciated :)