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
Cannot read properties of undefined (reading 'sourceFile')
Debug log
Test suite failed to run
TypeError: Cannot read properties of undefined (reading 'sourceFile')
at isDocumentRegistryEntry (node_modules/.pnpm/[email protected]/node_modules/typescript/lib/typescript.js:140899:18)
at getDocumentRegistryEntry (node_modules/.pnpm/[email protected]/node_modules/typescript/lib/typescript.js:140975:19)
at Object.releaseDocumentWithKey (node_modules/.pnpm/[email protected]/node_modules/typescript/lib/typescript.js:141070:19)
at releaseOldSourceFile (node_modules/.pnpm/[email protected]/node_modules/typescript/lib/typescript.js:149911:24)
at Object.onReleaseOldSourceFile (node_modules/.pnpm/[email protected]/node_modules/typescript/lib/typescript.js:149915:7)
at createProgram (node_modules/.pnpm/[email protected]/node_modules/typescript/lib/typescript.js:124974:14)
at synchronizeHostDataWorker (node_modules/.pnpm/[email protected]/node_modules/typescript/lib/typescript.js:149871:15)
at synchronizeHostData (node_modules/.pnpm/[email protected]/node_modules/typescript/lib/typescript.js:149767:7)
at Object.getEmitOutput (node_modules/.pnpm/[email protected]/node_modules/typescript/lib/typescript.js:150327:5)
Version
29.2.5
Steps to reproduce
npx jest
tsconfig
Expected behavior
can run
Actual behavior
Cannot read properties of undefined (reading 'sourceFile')
Debug log
Test suite failed to run
Additional context
No response
Environment
System: OS: macOS 14.5 CPU: (8) arm64 Apple M3 Binaries: Node: 16.20.2 npm: 8.19.4 pnpm: 8.15.9 npmPackages: jest: ^29.7.0 => 29.7.0
The text was updated successfully, but these errors were encountered: