Material-ui: npm ERR! Cannot read property 'match' of undefined

Created on 6 Aug 2019  路  2Comments  路  Source: mui-org/material-ui

I was using perfectly until upgraded Material UI 4.3 from 4.0.
Successfully installed Material-ui/core, but failing while coming to install icons package.

$ npm i @material-ui/icons
npm ERR! Cannot read property 'match' of undefined

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\bgh42727\AppData\Roaming\npm-cache_logs\2019-08-06T12_56_45_547Z-debug.log

question

Most helpful comment

Your issue has been closed because it does not conform to our issue requirements.

For how-to questions and other non-issues, please use Spectrum.chat or StackOverflow instead of Github issues. There is a StackOverflow tag called "material-ui" that you can use to tag your questions.

All 2 comments

Your issue has been closed because it does not conform to our issue requirements.

For how-to questions and other non-issues, please use Spectrum.chat or StackOverflow instead of Github issues. There is a StackOverflow tag called "material-ui" that you can use to tag your questions.

Delete your package.lock.json file and then run npm i it would work fine

Was this page helpful?
0 / 5 - 0 ratings

Related issues

finaiized picture finaiized  路  3Comments

mattmiddlesworth picture mattmiddlesworth  路  3Comments

TimoRuetten picture TimoRuetten  路  3Comments

rbozan picture rbozan  路  3Comments

reflog picture reflog  路  3Comments