I now prefer NPM, but NPM does sometimes have problem with installing from package-lock.json.
Some other still missing features of NPM include,
Luckily, I now know an easy way to npm-not-yarn and yarn-not-npm, with zero dependency.
npm-not-yarn
yarn-not-npm
echo 'engine-strict=true' >> .npmrc
// package.json { "engines": { "node": "12.x", "npm": "6.x", "yarn": "please-use-npm" } }
It is a best idea to pin dependencies and engines visibly for open source contributors, anyway.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I now prefer NPM, but NPM does sometimes have problem with installing from package-lock.json.
Some other still missing features of NPM include,
Luckily, I now know an easy way to
npm-not-yarn
andyarn-not-npm
, with zero dependency.It is a best idea to pin dependencies and engines visibly for open source contributors, anyway.