【已解决】npm start 报错 Could not freeze ...: cannot read properties of undefined (reading ‘hash‘)

文章目录


一、问题

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

猜你喜欢

转载自blog.csdn.net/qq_32682301/article/details/128185952