Uploading images to S3 bucket using Nodejs code. The below code will upload any assets to mentioned AWS S3 bucket and return the uploaded details along with assets size in bytes.
const AWS = require('aws-sdk');
const { Storage } =...
Read More ⟶
Search the path of actual installed packged detination. After that copy and run like below command.
which npm
which node
which pm2
sudo ln -s /home/ec2-user/.nvm/versions/node/v16.15.1/bin/npm
sudo ln -s /home/ec2-user/.nvm/versions/node/v16.15.1/bin/node
sudo...
Read More ⟶