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
Upgraded from 2.22.1 to 2.23.0 on a typescript project and started getting this error. Downgrading back to 2.22.1 fixes it.
Running eslint
Oops! Something went wrong! :(
ESLint: 7.26.0
TypeError: Cannot read property 'esModuleInterop' of undefined
Occurred while linting /home/********/wealthsimple/src/admin/admin-utilities/components/role-manager/components/child-column/child-column.component.tsx:11
at isEsModuleInterop (/home/********/wealthsimple/node_modules/eslint-plugin-import/lib/ExportMap.js:727:385)
at /home/********/wealthsimple/node_modules/eslint-plugin-import/lib/ExportMap.js:734:128
at Array.forEach (<anonymous>)
at Function.ExportMap.parse (/home/********/wealthsimple/node_modules/eslint-plugin-import/lib/ExportMap.js:727:419)
at Function.ExportMap.for (/home/********/wealthsimple/node_modules/eslint-plugin-import/lib/ExportMap.js:721:201)
at Function.ExportMap.get (/home/********/wealthsimple/node_modules/eslint-plugin-import/lib/ExportMap.js:715:463)
at checkSourceValue (/home/********/wealthsimple/node_modules/eslint-plugin-import/lib/rules/no-cycle.js:68:44)
at checkSourceValue (/home/********/wealthsimple/node_modules/eslint-module-utils/moduleVisitor.js:29:5)
at checkSource (/home/********/wealthsimple/node_modules/eslint-module-utils/moduleVisitor.js:34:5)
at /home/********/wealthsimple/node_modules/eslint/lib/linter/safe-emitter.js:45:58
error Command failed with exit code 2.
I have a minimal repro repo but I'm having a hard time disentangling it from our internal toolchain packages. Seems to require a react component to be present however.
Upgraded from 2.22.1 to 2.23.0 on a typescript project and started getting this error. Downgrading back to 2.22.1 fixes it.
Env details:
Config details:
.eslintrc:
where
./node_modules/@my-company/jstools-lint-web/config/eslint.config.js
:The text was updated successfully, but these errors were encountered: