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

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

Open
jacob-zhang-213 opened this issue Mar 10, 2022 · 0 comments

Comments

@jacob-zhang-213
Copy link

(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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant