Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug_fd deprication warning message #1456

Closed
mnemanja opened this issue Jan 27, 2017 · 5 comments
Closed

debug_fd deprication warning message #1456

mnemanja opened this issue Jan 27, 2017 · 5 comments

Comments

@mnemanja
Copy link

This is more of an annoyance then a problem.

After starting the react-script this message gets displayed:

> react-scripts start

Starting the development server...

(node:13088) DeprecationWarning: `DEBUG_FD` is deprecated. Override `debug.log` if you want to use a different log function (https://git.io/vMUyr)
Compiled successfully!

The app is running at:

  http://localhost:3000/

Note that the development build is not optimized.
To create a production build, use npm run build.

The issue in question is the DEBUG_FD. Like I've mentioned already, this is simply an annoyance at this point and I'd like to resolve it if possible.

Is there a way of solving this from my end?

Node version 6.9.4
Npm version 4.1.1
Environment Windows 10

@gaearon
Copy link
Contributor

gaearon commented Jan 27, 2017

Can you find which package calls the function?

@mnemanja
Copy link
Author

In the code there is no call for it.
In the node_modules these modules I've found using it:

  • express
  • compression
  • finalhandler
  • send
  • eslint-module-utils
  • serve-index
  • ajv
  • debug

@gaearon
Copy link
Contributor

gaearon commented Feb 11, 2017

Do you have this problem with a clean project? So far I'm unable to reproduce it with Node 6.9.4.

@gaearon
Copy link
Contributor

gaearon commented Feb 11, 2017

This was likely caused by WebStorm's use of that variable. The deprecation warning was rolled back for some cases so I'm assuming this got fixed. debug-js/debug#410

@gaearon gaearon closed this as completed Feb 11, 2017
@mnemanja
Copy link
Author

Hi @gaearon
Sorry for the late response.

I can confirm that with the version 0.9.0 the problem is gone.

@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants