Can't get shoreline to work due to version errors

So I’ve been trying to use the @vtex/shoreline package on an admin app. After installing the package in /react, I can’t get the app to link properly, since I receive the following error message: "@vtex/shoreline@1.11.24: The engine “node” is incompatible with this module. Expected version “>=20”. Got “16.20.2"”
Well, this is strange because the node version I am currently using is 21.6.2.
I’ve already tried to delete node_modules and yarn.lock only to reinstall everything again. None of that worked, unfortunately.
I’ve noticed, though, that 16.20.2 is one of the node versions I have installed in my nvm, but I even tried uninstalling it and the error persists. Switching between node versions using nvm doesn’t change the outcome no matter what I do. Am I even supposed to use this lib? What can I do to solve this issue?