Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i got eslint typescript error #221

Open
rezanbt opened this issue Aug 5, 2023 · 1 comment
Open

i got eslint typescript error #221

rezanbt opened this issue Aug 5, 2023 · 1 comment

Comments

@rezanbt
Copy link

rezanbt commented Aug 5, 2023

ERROR in [eslint] Failed to load plugin '@typescript-eslint' declared in '../.eslintrc.json': Cannot find module 'typescript'
Require stack:

  • /home/nabati/IdeaProjects/material-dashboard-react/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js
  • /home/nabati/IdeaProjects/material-dashboard-react/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js
  • /home/nabati/IdeaProjects/material-dashboard-react/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js
  • /home/nabati/IdeaProjects/material-dashboard-react/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js
  • /home/nabati/IdeaProjects/material-dashboard-react/node_modules/@typescript-eslint/eslint-plugin/dist/index.js
  • /home/nabati/IdeaProjects/material-dashboard-react/node_modules/@eslint/eslintrc/dist/eslintrc.cjs
    Referenced from: /home/nabati/IdeaProjects/.eslintrc.json

webpack compiled with 1 error

@DecsisS
Copy link

DecsisS commented Dec 28, 2024

Hello @rezanbt! The original repository has no dependencies or settings of typescript.

If you want to use typescript, according to the error you encountered, this may be due to the lack of typescript devDependency in package.json, or it is not installed.

If this solution doesn't work, please describe the situation in more detail. What to do before this error appears?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants