SyntaxFix
Write A Post
Hire A Developer
Questions
Add the following environment variable:
NODE_TLS_REJECT_UNAUTHORIZED=0
e.g. with export:
export
export NODE_TLS_REJECT_UNAUTHORIZED=0
(with great thanks to Juanra)