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
Sometimes, TS can call getModifiedTime with an undefined path, resulting in TypeError: Cannot read properties of undefined (reading 'includes').
Stack trace:
TypeError: Cannot read properties of undefined (reading 'includes')
at (internal project path)\node_modules\ts-checker-rspack-plugin\lib\typescript\worker\lib\system.js:197:48
at Array.some (<anonymous>)
at isArtifact ((internal project path)\node_modules\ts-checker-rspack-plugin\lib\typescript\worker\lib\system.js:197:29)
at getReadFileSystem ((internal project path)\node_modules\ts-checker-rspack-plugin\lib\typescript\worker\lib\system.js:202:66)
at Object.getModifiedTime ((internal project path)\node_modules\ts-checker-rspack-plugin\lib\typescript\worker\lib\system.js:68:23)
at Object.getModifiedTime ((internal project path)\node_modules\ts-checker-rspack-plugin\lib\typescript\worker\lib\host\watch-solution-builder-host.js:33:36)
at getModifiedTime ((internal project path)\node_modules\typescript\lib\typescript.js:7922:15)
at getUpToDateStatusWorker ((internal project path)\node_modules\typescript\lib\typescript.js:133632:102)
at getUpToDateStatus ((internal project path)\node_modules\typescript\lib\typescript.js:133841:18)
at getNextInvalidatedProjectCreateInfo ((internal project path)\node_modules\typescript\lib\typescript.js:133423:20)
Expected behavior
The plugin should catch undefined paths and not crash.
Current behavior
Sometimes, TS can call
getModifiedTime
with an undefined path, resulting inTypeError: Cannot read properties of undefined (reading 'includes')
.Stack trace:
Expected behavior
The plugin should catch undefined paths and not crash.
Steps to reproduce the issue
Call getModifiedTime with undefined.
Environment
The text was updated successfully, but these errors were encountered: