[Solved] npm start reported an error Could not freeze ...: cannot read properties of undefined (reading 'hash')

Article directory


1. Problems

npm start reports an error:

Could not freeze ...: cannot read properties of undefined (reading 'hash')

or

Could not freeze ...: Cannot read property 'hash' of undefined

Two, solve

This error is generally caused by the npm running cache, just clear it:

./node_modules/.cacheAfter deleting , run it npm startagain


over

Guess you like

Origin blog.csdn.net/qq_32682301/article/details/128185952