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
{{ message }}
Repository navigation
Type checker error during run extension in npm:watch #1969
Hi
I encountered an npmwatch error while developing a process attacher.
I downloaded the distribution code, but the issue persists.
Wanna make sure this error is my local environment or common. Should I ignore this with ts-expect-error, or should someone fix this?
BTW, the nox lint and nox tests both passed
Argument of type '(_path: any, callback: (arg0: null, arg1: Buffer) => void) => void' is not assignable to parameter of type '(path: PathOrFileDescriptor, callback: (err: ErrnoException | null, data: NonSharedBuffer) => void) => void'.
Types of parameters 'callback' and 'callback' are incompatible.
Type '(err: ErrnoException | null, data: NonSharedBuffer) => void' is not assignable to type '(arg0: null, arg1: Buffer<ArrayBufferLike>) => void'.
Types of parameters 'data' and 'arg1' are incompatible.
Type 'Buffer<ArrayBufferLike>' is not assignable to type 'NonSharedBuffer'.
Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'.
Type 'SharedArrayBuffer' is not assignable to type 'ArrayBuffer'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"SharedArrayBuffer"' is not assignable to type '"ArrayBuffer"'.ts(2345)
Activity
[-]original error during npm:watch[/-][+]Type error during unit tests in npm:watch[/+][-]Type error during unit tests in npm:watch[/-][+]Type checker error during unit tests in npm:watch[/+][-]Type checker error during unit tests in npm:watch[/-][+]Type checker error during run extension in npm:watch[/+]rchiodo commentedon Oct 29, 2025
Eleanor Boyd (@eleanorjboyd) this would be a build error in the extension. This has nothing to do with debugpy.