Skip to content

npm warning, child_process: options.customFds option is deprecated #351

Closed
@wooldridge

Description

@wooldridge

From @MayankBhatnagar89 on 2017-01-30:

On 8.0 Mac platform we are facing an issue where “npm” is throwing below mentioned warning :


npm --version
(node:17095) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
1.4.28


All tests are passing but it’s just appending this warning in the output . as mentioned below :


osx-intel64-80-build:qa builder$ mocha -R xunit node-client-api/test-complete/nodejs-config-query.js
(node:17374) DeprecationWarning: child_process: options.customFds option is deprecated. Use options.stdio instead.
<testsuite name="Mocha Tests" tests="10" failures="0" errors="0" skipped="0" timestamp="Mon, 30 Jan 2017 12:48:39 GMT" time="6.497">
<testcase classname="Config query test" name="should write the custom query" time="1"/>
<testcase classname="Config query test" name="should read the custom query" time="1.013"/>
<testcase classname="Config query test" name="should list the custom query" time="0.007"/>
<testcase classname="Config query test" name="should remove the custom query" time="0.005"/>
<testcase classname="Config query test" name="should list 0 custom query" time="1.191"/>
<testcase classname="Config query test" name="should write the custom query for test" time="0.097"/>
<testcase classname="Config query test" name="should write document for test" time="1.023"/>
<testcase classname="Config query test" name="should use custom query in a query" time="0.511"/>
<testcase classname="Config query test" name="should remove the custom query after the query test" time="0.427"/>
<testcase classname="Config query test" name="should remove the document" time="1.217"/>
</testsuite>
osx-intel64-80-build:qa builder$

When checked online , below mentioned are the two solutions I found.
sintaxi/harp#409
sequelize/cli#291

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions