Tag: npm

64 votes
30 answers
1.8K views
Find the version of an installed npm package

How to find the version of an installed node.js/npm package? This prints the version of npm itself: npm -v &

avatar
Omar
0 1 0 9
asked 07 September, 2021
56 votes
13 answers
2.8K views
What is the --save option for npm install?

I saw some tutorial where the command was: npm install --save What does the --save option mean? Not able t

avatar
User demo
0 1 0 9
asked 07 September, 2021
56 votes
19 answers
2.9K views
What's the difference between tilde(~) and caret(^) in package.json?

After I upgraded to the latest stable node and npm, I tried npm install moment --save. It saves the entry in t

avatar
Roger
0 1 0 9
asked 07 September, 2021
60 votes
11 answers
784 views
unable to resolve dependency tree error for creating new angular project

so today I wanted to create a new Angular project using the command ng new <projectname> and I got this

avatar
Solomon
0 1 0 9
asked 07 September, 2021