npm
-
Hỏi đáp
How to install a previous exact version of a NPM package?
I used nvm to download node v0.4.10 and installed npm to work with that version of node. I am trying…
Đọc thêm » -
Hỏi đáp
How can I uninstall npm modules in Node.js?
As commonly known, any npm module can be installed by running a simple command: npm install <module_name>. I have installed…
Đọc thêm » -
Hỏi đáp
Sending command line arguments to npm script
The scripts portion of my package.json currently looks like this: "scripts": { "start": "node ./script.js server" } …which means I…
Đọc thêm » -
Hỏi đáp
Where does npm install packages?
Can someone tell me where can I find the Node.js modules, which I installed using npm? Answers: Global libraries You…
Đọc thêm » -
Hỏi đáp
How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)
My version of node is always v0.6.1-pre even after I install brew node and NVM install v0.6.19. My node version…
Đọc thêm » -
Hỏi đáp
How can I update Node.js and npm to their latest versions?
I just installed Node.js and npm. I installed npm for access to additional Node.js modules. After I installed Node.js and…
Đọc thêm » -
Hỏi đáp
Do I commit the package-lock.json file created by npm 5?
npm 5 was released today and one of the new features include deterministic installs with the creation of a package-lock.json…
Đọc thêm » -
Hỏi đáp
How can I update each dependency in package.json to the latest version?
I copied package.json from another project and now want to bump all of the dependencies to their latest versions since…
Đọc thêm » -
Hỏi đáp
What’s the difference between dependencies, devDependencies, and peerDependencies in NPM package.json file?
This documentation answers my question very poorly. I didn’t understand those explanations. Can someone say in simpler words? Maybe with…
Đọc thêm » -
Hỏi đáp
Find the version of an installed npm package
How can I find the version of an installed Node.js or npm package? This prints the version of npm itself:…
Đọc thêm » -
Hỏi đáp
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? Answers: Update npm…
Đọc thêm » -
Hỏi đáp
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…
Đọc thêm »