Solution to Cannot read property 'range' of null error

npm installAfter that,  npm run serve the inexplicable operation  npm install has been reporting Cannot read property ‘range’ of null

Find the corresponding project in the project: directly delete the node_modules folder inside , and then restart npm install

tips:

When some package errors occur in clearing node_modules and the cause cannot be found, try clearing the cache first.

rm -rf node_modules
npm cache clean
npm install

npm cache clean // violent cache clearing: npm cache clean --force

Guess you like

Origin blog.csdn.net/bobocqu/article/details/127294061