• Wincent
    Open
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Tracking down deprecation warnings in Node scriptsEdit

Created 11/25/2018, updated 7/9/2021

Just say some dependency in you enormous node_modules folder is causing a deprecation warning to be printed out whenever you run yarn gulp build. You can cause a full trace to be emitted like so:

node --trace-deprecation node_modules/.bin/gulp build
  • wiki
  • javascript
  • node
Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell using React, Relay and GraphQL (with help from Git, Redis and Neovim).