Next.js: Could not freeze filename

Created on 21 Sep 2018  路  5Comments  路  Source: vercel/next.js

Recently I've updated Next to version 7 and now when i run "npm run dev" and start changing and saving my files I see notifications in console "Could not freeze ./pages/_app.js: Cannot read property hash of undefined".

The same notification are about several another files. What does it mean?

Most helpful comment

It has happened to me, deleting the cache solved it.

rm -rf node_modules/.cache

All 5 comments

It has happened to me, deleting the cache solved it.

rm -rf node_modules/.cache

@danielr18 thank you. It works for me.
Why did this happen after update to version 7?

Related to #5213

Will probably be fixed when mzgoddard/hard-source-webpack-plugin/pull/419 lands

Closing this as we removed hard-source due to above issues.

Was this page helpful?
0 / 5 - 0 ratings