I'm curious about the meaning of each line in this file. I encountered issues with packages due to dependencies in my project.
After upgrading nuxt from version 1x to 2x, all tests started failing. After spending hours searching online, I discovered that I had two versions of
chokidar
with different watchpack
versions. So, I resolved this by locking one package using
resolutions
in my package file.
The watchpack version was ^2.0.0-beta.7
,
and all tests began working again!
Unfortunately, enabling developer mode stopped supporting hot reload and caused crashes.
So, I decided to lock chokidar to version "^3.0.2"
, and now everything is working perfectly!
But it makes me wonder how everything functions in this file, as locking chokidar resolved all issues!
What does that specific line mean? Which chokidar version is being used? Both? The first one? The second one? Or maybe even something else?
Some dependencies of dependencies, with seven versions!