- Newest
- Most votes
- Most comments
Do you use ESET Antivirus by any chance? they apparently broke everyone's local node.js on April 17th, 2024
short answer is disable SSL/TLS protection in ESET until they push a fix.
- Open ESET
- Click Setup
- click Internet protection
- click the gear icon by Web Access protection
- click SSL/TLS
- turn off "Enable SSL/TLS"
Then wait until ESET pushes a fix fir this before turning it back on.
Hello.
There may be a problem with the certificate of the OS you are using, but according to the GitHub issue below, you may be able to temporarily avoid this by setting the Nodejs environment variables.
Therefore, before executing the CDK command, try setting the environment variables using the following command.
https://github.com/aws/aws-cdk/issues/14216#issuecomment-822249343
export NODE_TLS_REJECT_UNAUTHORIZED=0
Nope still the same
Does the same error occur if you try it on another PC?
I haven't tried on another PC/Laptop. Until yesterday I was able to run the code and everything was working fine. I didnt change anything at all (code,Roles etc).
Relevant content
- asked 23 days ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 10 months ago
Yes! that was it ! Thank you so much!