I'm trying to implement this package in my React app to log into my Steam account to access a specific game's API, and while trying to follow along with the examples step-by-step, the whole app crashes if I include 'steam-user' in one of my pages.
At first I figured it was crashing because I was doing something wrong, but eventually I found out it crashes even when all I do is include the package in the page like this:
const SteamUser = require('steam-user');
Which results in the entire site crashing with this callstack:
I don't know what version of webpack I should have installed, but npm tells me it installed
[email protected]. Could this be an issue with the version of webpack npm installed or could it be something else? I tried downgrading the version but I got nothing.
I forgot to mention but I am running the latest OS on an M1 Macbook. I forgot Apple Silicon has a few compatibility issues with things so I'm starting to wonder if that could be it, but I haven't come across any issues with React projects here before so I have my doubts.