Skip to content

DeprecationWarning: Calling an asynchronous function without callback is deprecated. #533

@nickrttn

Description

@nickrttn

Versions of kyt, node, OS

kyt: 0.9.0-alpha.4
node: v8.3.0
OS: MacOS High Sierra GM

Bug or Feature?

Bug

Current Behavior

On starting kyt dev, the following DeprecationWarning is displayed:

(node:2567) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.
    at maybeCallback (fs.js:119:42)
    at Object.fs.writeFile (fs.js:1268:14)
    at WebpackAssetsManifest.done (/Users/.../Developer/.../project-name/node_modules/kyt/config/webpack.base.js:72:16)

Desired Behavior

It is only a DeprecationWarning, maybe due to using Node.js v8.3 with the updated V8, but I'd like it not to occur when calling an asynchronous function without a callback is removed from Node.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions