You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a test project to test steamworks js, added a index.js file with following code:
`const sw = require("steamworks.js")
const client = sw.init(/app id/);
console.log(client.localplayer.getName());`
but when I tried to run it, received following error:
`C:\Users\samee\dev\work\grest_games\test\node_modules\steamworks.js\index.js:44
internalInit(appId)
^
Error: failed to init the steamworks API
at Object.module.exports.init (C:\Users\samee\dev\work\grest_games\test\node_modules\steamworks.
js\index.js:44:5)
at Object. (C:\Users\samee\dev\work\grest_games\test\index.js:3:19)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
code: 'GenericFailure'
}`
The text was updated successfully, but these errors were encountered:
I created a test project to test steamworks js, added a index.js file with following code:
`const sw = require("steamworks.js")
const client = sw.init(/app id/);
console.log(client.localplayer.getName());`
but when I tried to run it, received following error:
`C:\Users\samee\dev\work\grest_games\test\node_modules\steamworks.js\index.js:44
internalInit(appId)
^
Error: failed to init the steamworks API
at Object.module.exports.init (C:\Users\samee\dev\work\grest_games\test\node_modules\steamworks.
js\index.js:44:5)
at Object. (C:\Users\samee\dev\work\grest_games\test\index.js:3:19)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
code: 'GenericFailure'
}`
The text was updated successfully, but these errors were encountered: