J
J
JavaSscriptNoob2021-11-29 20:13:56
typescript
JavaSscriptNoob, 2021-11-29 20:13:56

What could be the typescript and ts-lint version error?(Line 0: Parsing error: Cannot read property 'map' of undefined)?

Hello everyone, can anyone tell me about the typescript parsing error?

Line 0:  Parsing error: Cannot read property 'map' of undefined
. There is no such line in the code). As I understand it while googling, the error occurs when the project contains "**/@typescript-eslint/eslint-plugin" and
"**/@typescript-eslint/parser" . Does anyone know if this is so? And if so, then most likely an error in the versions of the typescript in the project and these modules. I have ts version 4.1.3 in my project. Please tell me what version of these modules "**/@typescript-eslint/eslint-plugin" "**/@typescript-eslint/eslint-plugin" is needed so that everything works correctly for version ts 4.1.3? Unfortunately, the ts version cannot be changed in the project.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question