Skip to content

when i use npm test in this project ,i meet a error with Error: jshint exited with code: 2 #1685

@jacob-zhang-213

Description

@jacob-zhang-213

(This issue tracker is only for bug reports or feature requests, if this is neither, please choose appropriate channel from http://bluebirdjs.com/docs/support.html)

Please answer the questions the best you can:

  1. What version of bluebird is the issue happening on?
    i just run npm test in bluebird project, i just want to debug the code
  2. What platform and version? (For example Node.js 0.12 or Google Chrome 32)
    Node.js v16.4.2
  3. Did this issue happen with earlier version of bluebird?
    i don't kown
    (Write description of your issue here, stack traces from errors and code that reproduces the issue are helpful)
    src\promise.js
    line 60 col 81 Line is too long. (W101)
    line 155 col 82 Line is too long. (W101)
    line 614 col 85 Line is too long. (W101)
    line 644 col 82 Line is too long. (W101)
    line 673 col 82 Line is too long. (W101)
    line 772 col 81 Line is too long. (W101)

src\promise_array.js
line 116 col 82 Line is too long. (W101)
line 118 col 82 Line is too long. (W101)

8 problems

Error: jshint exited with code: 2

at makeResult (D:\Program Files\packageCode\bluebird\tools\utils.js:58:38)
at ChildProcess.<anonymous> (D:\Program Files\packageCode\bluebird\tools\utils.js:82:25)
at ChildProcess.emit (node:events:394:28)
at maybeClose (node:internal/child_process:1067:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)

From previous event:
at Object.run (D:\Program Files\packageCode\bluebird\tools\utils.js:55:12)
at module.exports (D:\Program Files\packageCode\bluebird\tools\jshint.js:6:18)
at Object. (D:\Program Files\packageCode\bluebird\tools\test.js:198:53)
at Module._compile (node:internal/modules/cjs/loader:1095:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:816:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
at node:internal/main/run_main_module:17:47

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions