const { Strategy: RedditStrategy } = await import('passport-reddit');
Instead change the require of index.js in /home/skeddles/lospec-website/app.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/home/skeddles/lospec-website/app.js:327:22)
at Object.<anonymous> (/home/skeddles/lospec-website/server.js:2:13) {```
So I'm supposed to use a dynamic import. Aka `import()`. Which returns a promise. So it needs to be awaited. Which it can't because it's required on the top level.
So what am I supposed to do?