Skip to content

TypeError: Cannot read properties of undefined (reading 'fileExists') #1101

Open

Description

@hormesiel

Hi,
First thanks for this awesome tool.

I'm trying to upgrade from v0.14.2 to v0.15.1 but I'm getting the following error when running microbundle :

***$ yarn build
yarn run v1.22.22
$ microbundle
TypeError: Cannot read properties of undefined (reading 'fileExists')

    at parseTsConfig (/home/mickael/dev/perso/projects/static-auth/node_modules/microbundle/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29593:78)
    at Object.options (/home/mickael/dev/perso/projects/static-auth/node_modules/microbundle/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29697:73)
    at /home/mickael/dev/perso/projects/static-auth/node_modules/rollup/dist/shared/rollup.js:23849:32
    at async /home/mickael/dev/perso/projects/static-auth/node_modules/rollup/dist/shared/rollup.js:23849:88
    at async getInputOptions (/home/mickael/dev/perso/projects/static-auth/node_modules/rollup/dist/shared/rollup.js:23842:61)
    at async rollupInternal (/home/mickael/dev/perso/projects/static-auth/node_modules/rollup/dist/shared/rollup.js:23787:72)
    at async /home/mickael/dev/perso/projects/static-auth/node_modules/microbundle/dist/cli.js:685:18

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

It looks like there's a crash when trying to read my tsconfig.json file. I tried to delete it to see if it was my config that causes the problem but I get the same error...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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