How do I unlink node from a javascript file?

I have two javascript files, one for node and one for my frontend javascript. However, whenever I run the frontend javascript file, I get Node.js v20.16.0. How can I unlink it and link it to the other file?

I tried to change it on package.json but it still does that. Any tips?