nodejs / help

:sparkles: Need help with Node.js? File an Issue here. :rocket:
1.48k stars 281 forks source link

(node:7999) DeprecationWarning: (node-watch) First param in callback function is replaced with event name since 0.5.0, use `(evt, filename) => {}` if you want to get the filename #1651

Closed diners-admin closed 5 years ago

diners-admin commented 5 years ago

Hello, I have this error: (node: 7999) DeprecationWarning: (node-watch) First param in callback function is replaced with event name since 0.5.0, use (evt, filename) => {} if you want to get the filename

Some way to solve it. Thank you.

addaleax commented 5 years ago

Can you share your code that causes this? Running your code with the --trace-warnings flag could help locate the source of this issue, e.g. node --trace-warnings app.js?

diners-admin commented 5 years ago

I do not understand your answer very well, I followed all the steps exposed at: https://github.com/zone117x/node-open-mining-portal and when I get to the command: 3) Start the portal node init.js It is where the error appears and does not continue, attached screenshot, thanks. captura de pantalla de 2018-12-01 21-16-51

diners-admin commented 5 years ago

I have tried to make your e.g. node --trace-warnings app.js? but surely I am doing something wrong, I leave capture. Thank you.

captura de pantalla de 2018-12-01 21-34-54 captura de pantalla de 2018-12-01 21-35-16

diners-admin commented 5 years ago

I have uploaded the work done here so that it can be easier to locate: https://github.com/diners-admin/node-open-mining-portal What we are trying to do is a mining Pool for Diners, the new cryptocurrency, and we use Linux Mint, thanks for your help.

diners-admin commented 5 years ago

Is any help possible to correct this error?

Thank you

aduh95 commented 5 years ago

I think this issue is meant for zone117x/node-open-mining-portal's repo, I doesn't seem to related with Node.js core. Try to create an issue there, and don't forget to include what node version you are using.

BTW, posting screenshots (especially when semi-opaque background is involved) makes it very hard to read, try to copy and paste instead.

diners-admin commented 5 years ago

ok, thanks