bumperG Posted November 10, 2018 Report Share Posted November 10, 2018 Hello, I want to make a website about my group member statistics (like Steam Level, Games, etc) using React After i installing node-steamcommunity and i want to trying the module, i got an error TypeError: setInterval(...).unref is not a function 44 | } // Report stats hourly, and immediately in 10 minutes 45 | 46 | 47 | setInterval(reportStats, 1000 * 60 * 60).unref(); 48 | setTimeout(reportStats, 1000 * 60 * 10).unref(); 49 | 50 | if (isDebugging()) { setupReportingD:/testing/node_modules/@doctormckay/stats-reporter/index.js:47 Did I make a mistake?Thank you Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted November 12, 2018 Report Share Posted November 12, 2018 node-steamcommunity is a Node.js module. It does not work in the browser, even if you use something like browserify. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.