After the express project is launched, if a new node module is installed locally, a new module will be installed online?

such as the title, so do you have to execute the npm install command every time you launch?

Mar.02,2021

perform npm install, every time you deploy. You don't have to do it manually. Can pm2 implement its deploy function


local development? If the developer replaces the original project, it will have to be updated. It mainly depends on whether the new module is used in the source code. If you install a bunch of modules locally and are not referenced in the source code, then you do not need to install


if it is a module that your code must rely on, then in the online environment, you must execute npm install installed


. If the local project is to be updated online, your local project already depends on these new modules. When you update to the online, It is also dependent online, so install

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beb2ad-31a67.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beb2ad-31a67.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?