-
Notifications
You must be signed in to change notification settings - Fork 46
createCredentials() is deprecated #41
Comments
Thanks Raymond but i replaced the file ssl_cert.js buy your fix and still get same problem. |
Can you find other occurrences of |
Yes. I found another in this file apiGateway/node_modules/loopback-connector-mysql/node_modules/mysql/lib/Connection.js line 310 : var credentials = Crypto.createCredentials({ 2015-08-31 22:55 GMT+02:00 Raymond Feng [email protected]:
|
You probably need to open an issue against node-mysql project. Sent from my iPhone 6 Plus
|
Thanks i create issue here mysqljs/mysql#1203 |
Please do not direct users to grep their code; start the node program with the --trace-deprecation switch instead to determine cause. |
@dougwilson Nice tip! |
Oh, and hi @raymondfeng ! :) Sorry, I wrote that on a phone, so didn't come through as nice as I liked :) The |
@dougwilson Making sense. |
I don't get deprecated warning i just get this error now : node --trace-deprecation auth-server/ /apiGateway/auth-server/node_modules/loopback-boot/lib/executor.js:330 |
Hy I have :
slc -v
strongloop v5.0.0 (node v0.12.7)
├── [email protected] (15814c0)
├── [email protected] (9294f54)
├── [email protected] (bee617c)
├── [email protected] (1b220f7)
├── [email protected] (dbaa1a5)
├── [email protected] (f46e58f)
├── [email protected] (b17cbc0)
├─┬ [email protected] (539c0ce)
│ └── [email protected]
├── [email protected] (dec0654)
├── [email protected]
└── [email protected]
I get this error when i start using : node auth-server
createCredentials() is deprecated, use tls.createSecureContext instead
/Users/faouzi/Desktop/ournia/apiGateway/auth-server/node_modules/loopback-boot/lib/executor.js:330
var match = configVariable.match(DYNAMIC_CONFIG_PARAM);
^
The text was updated successfully, but these errors were encountered: