Skip to content

Cannot read properties of undefined (reading 'fileExists') #182

@stephenasuncionDEV

Description

@stephenasuncionDEV

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\@rollup+plugin-typescript@12.1.2_rollup@2.79.2_tslib@2.8.1_typescript@5.8.3\node_modules\@rollup\plugin-typescript\dist\cjs\index.js:267:17)

Usage:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions