Cannot read property 'type' of undefined - upgrade react-scripts v3 to v4 #11229
Unanswered
sagedemdreisbusch
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
we are currently facing a problem while upgrading react script from version 3.4.4 to 4.0.3. When starting the build or start-process of react-scripts, we see an compilation error like that:
Cannot read property 'type' of undefined
Occurred while linting <**>/src/components/shared/Grid/Grid.tsx:302
Our source code does not contain a .type in this part of the code. We already tried to install babel-eslint, @babel/eslint-parser as babel-eslint and updating typescript.
Has anyone got a solution for this problem?
Thx
Beta Was this translation helpful? Give feedback.
All reactions