Hi Everybody,
I will post here my findings in a way of learning Angular 2, VS.CODE and probably MongoDB. So keep updated.
Avoiding the dependencies versioning hell
Once I was stuck with non-compilable NPM-based project because of newly added libraries have brought their incompatible dependencies' version. It was sad and I expected a lot of manual fixes.
But the life is better! Thanks josh3736 from StackOverflow:
Looks like npm-check-updates is the only way to make this happen now.
npm i -g npm-check-updates
npm-check-updates -u
npm install
http://stackoverflow.com/questions/16073603/how-do-i-update-each-dependency-in-package-json-to-the-latest-version
No comments:
Post a Comment