SSL is not usable because key and cert options are added to an uninitialized options object.
Line 149 of react-devtools/app.html reads 'let options;'
Line 154 and 155 begin with 'options.cert = …'
In every case, this throws an error and enters the catch block.
React version: 16.5.2
react-devtools version: 4.8.1
Steps To Reproduce
- on command line, execute
KEY=react-devtools-ssl-key.pem CERT=react-devtools-ssl-cert.pem ./node_modules/react-devtools/bin.js
Regardless of whether the key and cert are valid, the error "Cannot set property 'key' of undefined" is thrown.
SSL is not usable because key and cert options are added to an uninitialized options object.
Line 149 of react-devtools/app.html reads 'let options;'
Line 154 and 155 begin with 'options.cert = …'
In every case, this throws an error and enters the catch block.
React version: 16.5.2
react-devtools version: 4.8.1
Steps To Reproduce
KEY=react-devtools-ssl-key.pem CERT=react-devtools-ssl-cert.pem ./node_modules/react-devtools/bin.js
Regardless of whether the key and cert are valid, the error "Cannot set property 'key' of undefined" is thrown.