Add npm and node version info to package json
czlowiek488 opened this issue · 1 comments
czlowiek488 commented
I don't know what versions of node or npm you are using.
It is a bit tricky to find out exact versions on my own.
I think it may be a good idea to add engines
field to package.json
file like in example below.
"engines": {
"npm": ">2.0.0",
"node": ">=0.12.0"
},
It may not been seen so important but in certain circumstances (unknown to me) rebase of package-lock with 2 different versions of npm spawns error.
I've spent many hours discovering that the errror was caused by npm versions difference.
NetanelBasal commented
v16.15.1
8.11.0