typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

Crashing when project path contains Chinese characters.

Open CryUshio opened this issue 3 weeks ago • 3 comments

Stack trace

panic: regexp: Compile(`(?i)^((/Users/x/develop/proj_\副\本/src/node(/.+?)?/[^/]*)|(/Users/x/develop/proj_\副\本/src/node\-common(/.+?)?/[^/]*)|(/Users/x/develop/proj_\副\本/node_modules(/.+?)?/[^/]*)|(/Users/x/develop/proj_\副\本/src/[^/]*/[^/]*/node_modules(/.+?)?/[^/]*))($|/)`): error parsing regexp: invalid escape sequence: `\副`

Steps to reproduce

1.Create a project with Chinese characters in its name and initialize node_modules. 2.Use the VS Code TypeScript Native plugin and start the service.

CryUshio avatar Dec 05 '25 03:12 CryUshio