As a junior developer, I struggled a lot with NPM.
Do you remember copy/pasting all the npm commands without knowing what they do ? Or the first ti...
For further actions, you may consider blocking this person and/or reporting abuse
Kudos! Nice article! Let me tell you a little story about when I started using node: I didn't know about the --save flag and I just installed everything with npm install . When I tried running the project on a friend's computer everything (as expected) crashed. After this, I remember putting into the README this:
"To run this project, please run these commands
Good thing this is now the default behavior !
Nice article! I was a bit confused with the phrase:
Because it can also be read as: "The mistake I made was not committing this folder". Maybe you could rephrase it a little. Other than that, very useful article!
I think you made a mistake when giving the examples with '~' and '^'. 4.18.1 should switch places with 4.17.9
Indeed ! Such a big mistake, thanks for pointing out. It has been fixed now. <3
If you ever use
npm init -y
, you should also know there isnpm config set
.Good article. I remember one of the first questions I had when dealing with npm was whether the package-lock.json file was suppose to be committed to the origin repo, or whether it should be ignored like the node_modules directory.
This was quite useful !! :)
Very useful! Thank you!!
Wonderful read, I loved how you covered the shorthand commands. Thanks for writing!
Thank you!
Really nice article!