Getting issues while building

Related app/team name (not a must if you want to keep it private):
Issue Description:if im going to build my app showing some issues.
Can you reproduce it (exact steps to reproduce): yeah we have to run npm run build command

please fing the attached screenshot to identify issues.

This seems to be a types definition issue. Is the only issue paths does not exist on type typeof io?



like this am getting earlier in jan its working fine i dont know now its showing like this, am new to this can u help me to solve this .

Just to verify - are you on the latest (3.20.1) version of the types definition?


you mean this

Since it is on the latest version, can you send an example of one of the lines where it can’t find “paths in io”?

above one is from in_game

this one is from windows

Can you try to add "types": [ "@overwolf/types" ], to your tsconfig.json file, under "compilerOptions": and check if that fixes it?

added like this…

haaa same issues

I see.
Just to make sure, did you try to re-open vscode since it happened? Sometimes it can mess up the loading of the types

let me check it once again

haa same






same issue

We’re looking into it on our end, I’ll keep you updated!

sure thank you, waiting for your replay…!

Post-issue summary for future readers - The problem was the tsconfig.json file.
Whenever using the overwolf types package, always make sure to install it through your choice of package manager, and then add the following to your config file:

  "compilerOptions": {
    "types": [

This way, it’ll use the types package directly from your node_modules.

1 Like

Thank You…

1 Like