Identifying multiple versions of Solid installed
I'm having a bit of trouble with a large app. I have a number of Solid dependencies and one of those is likely somehow pulling in a version that is not congruent with my main app (which is on 1.7.5+).
I usually use the lockfile to track down the dependency issues but it's super cumbersome because I have a lot of various dependencies. The issue I'm seeing is when I launch my start app, I get the duplicate versions error.
Wondering how other people would would approach the problem?
12 Replies
I feel like it would be helpful if the warning message identified the versions it detects. It might help for going digging in the lock file :/
I'm usually checking the chrome devtools sources tab because it has to be there. Then you can figure out what's importing what versions
also
this warning get's called from the solid that is loaded second
so you could use that stacktrace in this search
also what about something like this?
or other tool
theoretically this issue comes from some dependency to wrong solid version so you could find it there
https://pnpm.io/cli/list
Hmmm pnpm list isn't helping much. Going to look at the stacktrace and devtools list next
isn't this just going to show me the same thing the lock file does?
hmmm the stacktrace doesn't open when I click it. ugh
yeah
but lockfiles are long
and I don't remember when was the last time I got some useful info out of them
hmmmmm k
ok thanks I just need to dive into it more I suppose. soooo tedious
grep or rg (ripgrep) could help
It could be the same version, but integrated in a library instead of being used as a peer dependency.