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

TypeError: Cannot read property 'type' of undefined #98

Closed
Pirantul opened this issue Sep 30, 2019 · 2 comments
Closed

TypeError: Cannot read property 'type' of undefined #98

Pirantul opened this issue Sep 30, 2019 · 2 comments
Labels

Comments

@Pirantul
Copy link

Pirantul commented Sep 30, 2019

[x ] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed
[ x] I'm reporting the issue to the correct repository (for multi-repository projects)

I have error after run command 'npm start':
Failed to compile.
./src/layouts/Admin.js
TypeError: Cannot read property 'type' of undefined
Occurred while linting /material-dashboard-react/src/layouts/Admin.js:43
at Array.forEach ()

@einazare
Copy link
Contributor

Hello there, @Pirantul ,

Thank you for your interest in working with our products.
This is actually an error from the react-scripts package, here is the link to the mentioned issue: facebook/create-react-app#7753
To solve the issue, please run the following: npm i -E [email protected].

Best,
Manu

@einazare einazare reopened this Sep 30, 2019
@einazare einazare added the bug label Sep 30, 2019
@phal0r
Copy link

phal0r commented Jan 2, 2020

I got a different error:

node_modules/eslint/lib/rules/no-octal-escape.js:41
                    /^(?:[^\\]|\\.)*?\\([0-3][0-7]{1,2}|[4-7][0-7]|0(?=[89])|[1-7])/su
                    ^

SyntaxError: Invalid regular expression flags

The recommended workaround does fix this problem aswell.

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

No branches or pull requests

3 participants