electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.61k stars 1.74k forks source link

node_modules/electron-builder/node_modules/builder-util/out/log.d.ts:4:29 - error TS2833: Cannot find namespace '_debug'. Did you mean 'debug'? #7961

Open Ironmunkii opened 9 months ago

Ironmunkii commented 9 months ago

When I try to run the electron app, I get the following error: node_modules/electron-builder/node_modules/builder-util/out/log.d.ts:4:29 - error TS2833: Cannot find namespace '_debug'. Did you mean 'debug'?

4 export declare const debug: _debug.Debugger;



node_modules/electron-builder/node_modules/builder-util/out/util.d.ts:14:31 - error TS2833: Cannot find namespace '_debug'. Did you mean 'debug'?

14 export declare const debug7z: _debug.Debugger;
github-actions[bot] commented 7 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

selfisekai commented 4 months ago

same error for me, electron-builder@24.13.3, builder-util@24.13.1, typescript@5.4.5. weird, there is a import _debug from "debug"; before these exports

MelonCode commented 4 months ago

bump