How to fix: fatal error: openssl/opensslv.h: No such file or directory in RedHat 7

To fix this problem, you have to install OpenSSL development package, which is available in standard repositories of all modern Linux distributions. To install OpenSSL development package on Debian, Ubuntu or their derivatives: To install OpenSSL development package on Fedora, CentOS or RHEL: Edit : As @isapir has pointed out, for Fedora version>=22 use the DNF … Read more

Typescript ReferenceError: exports is not defined

EDIT: This answer might not work depending if you’re not targeting es5 anymore, I’ll try to make the answer more complete. Original Answer If CommonJS isn’t installed (which defines exports), you have to remove this line from your tsconfig.json: As per the comments, this alone may not work with later versions of tsc. If that is the case, you can … Read more

tech