when installing nodes using the Pallette Manager, I recommend that we add the --engine-strict
flag to the npm install
command in order to respect the "engines" section found in package.json
and fail to install any node that depends on certain nodejs version.
I realised that the latest docker image nodejs version is 10.23.2 , and I depend on functions found in later versions of nodejs. My dev environment node version is 12.18.3
by using --engine-strict
npm will refuse to install the node if it does not meet the node version requirements, rather than only show a warning message.