Cannot read property ‘match’ of undefined

Package-lock.json file causes the above error, NPM install

Later, if it is found that the downloaded plug-in version does not match the package-lock.json, you can delete this file to avoid version checking

If you need to continue to control the version, you need to specify the version of the plug-in in package.json instead of using the^

Similar Posts: