cypess-esmodule-import-error Run yarn to install deps cypress open or cypress run and you should see the "invalid configuration" error Note: this also happens when using a library that has `type: "module" but your main project does not.