一、问题
npm start 报错:
Could not freeze ...: cannot read properties of undefined (reading 'hash')
或
Could not freeze ...: Cannot read property 'hash' of undefined
二、解决
这个报错一般是由于npm运行缓存导致,清除即可:
删除 ./node_modules/.cache 后,再重新运行npm start即可
over
npm start 报错:
Could not freeze ...: cannot read properties of undefined (reading 'hash')
或
Could not freeze ...: Cannot read property 'hash' of undefined
这个报错一般是由于npm运行缓存导致,清除即可:
删除 ./node_modules/.cache 后,再重新运行npm start即可
over