Next.js Discord

Discord Forum

how to fix [webpack.cache.PackFileCacheStrategy]

Asiatic Lion posted this in #help-forum
Open in Discord
Asiatic LionOP
The only solutions I have seen were to delete the next & node_modules folders. Even on a brand new npx create-next-app@latest I still get this error

[webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, stat '/Users/name/Desktop/portfolio/.next/cache/webpack/server-development/4.pack.gz'

0 Replies