DEV Community

Discussion on: NPM - Cannot read property "match" of undefined

Collapse
apalumbo profile image
apalumbo • Edited on

Removing package-lock.json looks like an atomic bomb ;-), you can have issues later on ci/cd or other devs envs IMHO. Clearing npm cache should be ok , like @henriquesath said
npm cache clean --force