-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
WebdriverIO Version
8.12.1
Node.js Version
18.15.0
Mode
Standalone Mode
Which capabilities are you using?
not relevantWhat happened?
Trying to compile my TS based project which uses WDIO as a dependency, and getting stuck on this error:
node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts:22:62 - error TS7016: Could not find a declaration file for module 'debug'. '/Users/jlipps/Code/gh/jlipps/appium-ocr-plugin/node_modules/puppeteer-core/node_modules/debug/src/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/debug` if it exists or add a new declaration (.d.ts) file containing `declare module 'debug';`
22 export declare function importDebug(): Promise<typeof import('debug')>;
I'm not using puppeteer-core at all. It appears to be imported by WDIO.
What is your expected behavior?
No WDIO-related TS build issues
How to reproduce the bug.
Try to build this project at this branch: https://github.com/jlipps/appium-ocr-plugin/tree/jlipps/updates
Relevant log output
n/aCode of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Projects
Status
Done