How to prevent from "npm intsall" to update the packages in n8n

hi, I clone n8n from git, and when I make “npm i” it installs all the packages but !! because there is on some of the packages in package .json “^” it will always look like the most updated version, I want to prevent that and install only the version that is mentioned in the package.json how can I do that, usually in the node project I remove the “^” in every package or run “npm ci” how it works in n8n?

Hey @Asaf_Shay, this is the default npm behaviour. I don’t think there is any other way but to replace the ^ with a ~ in your package.json to achieve what you want unfortunately.

Is this causing any problem? Are there any dependencies in n8n that can’t be upgraded within the same major version?