npm install --save module_name
npm install --save module_name
For example, if the error is:
{ [Error: Cannot find module '/root/.npm/form-data'] code: 'MODULE_NOT_FOUND' }
then
{ [Error: Cannot find module '/root/.npm/form-data'] code: 'MODULE_NOT_FOUND' }
then you can resolve this issue by executing the command npm install --save form-data
.