npm run build fails with: [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unab
Unanswered
Sun bear posted this in #help-forum
Sun bearOP
Hi,
I'm not sure what is causing the problem, but I'm not able to build my project on my system anymore. I get always the message "[webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies" on run "npm run build".
Has somebody an idea?
T
I'm not sure what is causing the problem, but I'm not able to build my project on my system anymore. I get always the message "[webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies" on run "npm run build".
Has somebody an idea?
T
3 Replies
Sun bearOP
Logs
ignore the ** it comes from my chatgpt replacements of some names I wanted to hide
Sun bearOP
Okay there seems to be a problem with node 23 .
I downgraded to node 22 and it worked again.
I downgraded to node 22 and it worked again.