boncey / Flickr4Java

Java API For Flickr. Fork of FlickrJ
BSD 2-Clause "Simplified" License
176 stars 155 forks source link

TypeError: Cannot read property 'hash' of null in nextjs #533

Closed ziayamin closed 2 years ago

ziayamin commented 2 years ago

I am a beginner in next js and I have a problem as mentioned, the project works in dev mode, but when I run npm run build, this error appears.

I didn't understand what is this for and where it come from.

info - Creating an optimized production build .E:\tutia-frontend\tutia-frontend-website\node_modules\next\dist\compiled\webpack\bundle5.js:59190

processContextHashSnapshot(path, tsh.hash);

TypeError: Cannot read property 'hash' of null at callback (E:\tutia-frontend\tutia-frontend-website\node_modules\next\dist\compiled\webpack\bundle5.js:59190:46)