ts-patch icon indicating copy to clipboard operation
ts-patch copied to clipboard

Cannot read properties of undefined (reading 'fileExists')

Open stephenasuncionDEV opened this issue 7 months ago • 0 comments

I'm using "@rollup/plugin-typescript": "^12.1.2" and "ts-patch": "^3.3.0"

Getting this error:

[!] TypeError: Cannot read properties of undefined (reading 'fileExists')
TypeError: Cannot read properties of undefined (reading 'fileExists')
    at getTsConfigPath (C:\Users\asunc\Documents\projects\pickaxe\v2-pickaxe-react\node_modules\.pnpm\@[email protected][email protected][email protected][email protected]\node_modules\@rollup\plugin-typescript\dist\cjs\index.js:267:17)

Usage:

typescript({
	typescript: tsPatch,
	tsconfig: "./tsconfig.build.json",
})

stephenasuncionDEV avatar Jun 05 '25 22:06 stephenasuncionDEV