npmrc "engine-strict"
Suppose your package.json specifies a Node engine of greater than or equal 24. Does this mean all engineers on your team will use Node 24? No, unless you use this one weird trick! Locally, the engines key of package.json is an advisory. To force developers to use the same Node version, you can set the engine-strict flag. When true, such as through an .npmrc: # .npmrc engine-strict=true You’ll get a nice error like this when you aren’t using a compatible Node: ...