I have written a node js program which contained a method called AWS.config.update()
. When I tried to run it on terminal, I got an error:
Error: Cannot find module 'aws-sdk'
Go to the folder where your node application is installed:
cd location/to/your/folder
And then run this to install the aws-sdk:
npm install aws-sdk