Comments (6)
Hi @supermopf 😄
I'll need a bit more info to know that is causing this issue.
What I know:
- The function causing this exception is getProductInfo(), here is the full function: https://github.com/DoctorMcKay/node-steam-user/blob/cc39197c4bd554b505dadff5b464c80f5b4d67df/components/apps.js#L230
- That means that the problem is the Dynamic Banner Generation:
To go in deeper I will need you to:
- Checkout the dev branch (This branch contains some fixes and also better logging system)
- Enable Steam debug at your config file:
- Run
yarn install
- Run the bot and change the game you're playing at Steam. (You should already be verified with your Steam Bot)
- Post the content of your log file generated at
packages/server/logs
directory (Obfuscate any credentials before posting). - Post your Linux screen output like you did before.
from steamspeak.
Hey @dalexhd,
i followed your steps, but there was no file in packages/server/logs
The crash happens on start, so changing the game is not relevant i guess.
Anyway, heres the terminal output:
yarn run v1.22.4
$ yarn --cwd ./packages/server start
$ cd ../../ && make check-config
$ cross-env TS_NODE_FILES=true NODE_ENV=production ts-node -r tsconfig-paths/register src/index.ts
/home/steamspeak/SteamSpeak/node_modules/ts-node/src/index.ts:434
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
src/core/Website/api/controllers/verify.ts:116:26 - error TS2769: No overload matches this call.
The last overload gave the following error.
Argument of type '{ uid: string; dbid: string; steamId: any; }' is not assignable to parameter of type 'Pick<{ _id: any; uid: string; dbid: string; steamId: string; groupId: any; groupNumber: any; } & { _id: any; }, "uid" | "dbid" | "steamId" | "groupId" | "groupNumber"> & { _id?: any; }'.
Type '{ uid: string; dbid: string; steamId: any; }' is missing the following properties from type 'Pick<{ _id: any; uid: string; dbid: string; steamId: string; groupId: any; groupNumber: any; } & { _id: any; }, "uid" | "dbid" | "steamId" | "groupId" | "groupNumber">': groupId, groupNumber
116 VerifiedClient.create({
~
117 uid: client.uniqueIdentifier,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
119 steamId: steamData.steamId
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120 });
~~~~
../../node_modules/@types/mongoose/index.d.ts:3273:5
3273 create<TCreate = T>(...docs: CreateQuery<TCreate>[]): Promise<T>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The last overload is declared here.
at createTSError (/home/steamspeak/SteamSpeak/node_modules/ts-node/src/index.ts:434:12)
at reportTSError (/home/steamspeak/SteamSpeak/node_modules/ts-node/src/index.ts:438:19)
at getOutput (/home/steamspeak/SteamSpeak/node_modules/ts-node/src/index.ts:578:36)
at Object.compile (/home/steamspeak/SteamSpeak/node_modules/ts-node/src/index.ts:775:32)
at Module.m._compile (/home/steamspeak/SteamSpeak/node_modules/ts-node/src/index.ts:858:43)
at Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
at Object.require.extensions.<computed> [as .ts] (/home/steamspeak/SteamSpeak/node_modules/ts-node/src/index.ts:861:12)
at Module.load (internal/modules/cjs/loader.js:1049:32)
at Function.Module._load (internal/modules/cjs/loader.js:937:14)
at Module.require (internal/modules/cjs/loader.js:1089:19)
at require (internal/modules/cjs/helpers.js:73:18)
at Object.<anonymous> (/home/steamspeak/SteamSpeak/packages/server/src/core/Website/api/routes/verify.ts:2:1)
at Module._compile (internal/modules/cjs/loader.js:1200:30)
at Module.m._compile (/home/steamspeak/SteamSpeak/node_modules/ts-node/src/index.ts:858:23)
at Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
at Object.require.extensions.<computed> [as .ts] (/home/steamspeak/SteamSpeak/node_modules/ts-node/src/index.ts:861:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
from steamspeak.
Sorry about that compilation error. It was a mongoose typescript mistake Fixed at #154
Can you try the same steps I told you at #152 (comment)
from steamspeak.
Hey,
on dev branch this issue does not exist. So i think you can close this with the next release.
Thanks for the quick support^^
from steamspeak.
That are good news 😄.
from steamspeak.
This issue's conversation has been locked. Please file a new issue if you would like to continue the discussion.
from steamspeak.
Related Issues (14)
- v0.7.0 release summary. HOT 1
- Add option to disable website. HOT 3
- External database access/contact? HOT 3
- v0.8.0 release summary. HOT 2
- Installation problems.
- The server groups tells: Playing to undefined. HOT 1
- v0.9.0 release summary.
- Wrong version number on Web Panel.
- Add SteamSpeak features to documentation. HOT 3
- Create SteamSpeak cli.
- feat(new plugin): [Insert your title here] HOT 1
- Release summary v0.3.0
- Add supports to other platforms besides steam HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steamspeak.