2 Answers
- Newest
- Most votes
- Most comments
0
In my specific case, I went through this checklist:
- Checking for my code for any errors or typos
- Checking for any missing library
- Rebooting the system/restarting IDE.
- Creating a bare bones example of the same part of the code i was having trouble
- Copying the code(after finding it to be correct) to another system
What i did find was that although my code was working fine in the bare bones example, it was not in my project. So #1 and #2 were not the reason. But after I accidentally removed the package.json file, and had to recreate it, my code worked out all fine.
My solution that worked :
- Step1. Backing up my code and project files
- Step2. Deleting the package.json file and node modules directory
- Step3. Reinstalling/ re-importing all the libraries
@myon - Don't know if my solution will work for you, but do try it and share the results. Hope this post helps out a fellow learner/newbie
Sincerely Neville
answered 9 months ago
0
I just configure my credentials like this: const SES_CONFIG ={ accessKeyId: process.env.AWS_ACCESS_KEY, secretAccesskey: process.env.AWS_SECRET_ACCESS_KEY, region: process.env.AWS_SES_REGION };
This worked for me
answered 6 months ago
Relevant content
- asked 5 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Did you find a solution? I am facing a similar problem.