วิธีที่จะปรับปรุงของฉันแพ็คเก็จฉันทำอยู่บ่อยๆlanguage
npm install -g npm-check-updates
/after install run following:
ncu -u
//Then this:
npm update
ปรับปรุงโหนด.js dependencies
npm install -g npm-check-updates
ncu -u
npm update
npm install
ปรับปรุงทั้งหมดตอบแทนอยู่ในแพคเกทนั่นlanguage
//To install major updates globally
npm install -g npm-check-updates
//To see a list of outdated packages
npm outdated
//To update the packages to their latest versions in package.json
ncu -u
//To install the new updates
npm update or npm install
อัพเกรดทั้งตอบแทนอยู่ในแพคเกทนั่นlanguage
npm install -g npm-check-updates
ncu -u
npm install
npm ปรับปรุง
npm install -g npm@latest
วิธีที่จะปรับปรุงโหนดอดูล
npm install --global upgrade-node-modules