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

make 'debug' as dependencies #148

Closed
wants to merge 3 commits into from

Commits on Jan 14, 2021

  1. make 'debug' as dependencies

    nodejs under v15.5.1 has a bug: it will cache MODULE_NOT_FOUND when require a non-exits file([issue](nodejs/node#26926)). 
    
    ./debug.js try to require('debug'), if the 'debug' pkg not exits, nodejs will cache the result. Even install debug later in the same process(spawn npm install), require('debug') will still throw error
    
    so, we should make 'debug' pacakge as dependencies.
    Simon Lu committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    9227630 View commit details
    Browse the repository at this point in the history
  2. make debug as dependencies

    nodejs between v11.x - v15.5.1 has a bug: it will cache MODULE_NOT_FOUND when require a non-exits file([issue](nodejs/node#26926)). 
    
    ./debug.js try to require('debug'), if the 'debug' pkg not exits, nodejs will cache the result. Even install debug later in the same process(spawn npm install), require('debug') will still throw error
    
    so, we should make 'debug' pacakge as dependencies.
    Simon Lu committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    0da49f6 View commit details
    Browse the repository at this point in the history
  3. update lock file

    Simon Lu committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    8a755e3 View commit details
    Browse the repository at this point in the history