Skip to content

use of const seems to be unnecessary error #2223

@ORESoftware

Description

@ORESoftware

I have a Node.js project and wanted to experiment with using this compiler to see what would happen,
I ran the transpiler like so:

$ java -jar ~/Desktop/closure-compiler-v20161201.jar --js_output_file=out.js lib/

and I get all these errors

lib/make-tail/tail-any.js:13: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-any.js:16: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-any.js:20: ERROR - Illegal redeclared variable: projRoot
const projRoot = global.projectRoot;
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-runner.js:6: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-runner.js:7: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-runner.js:8: ERROR - Illegal redeclared variable: os
const os = require('os');
      ^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-runner.js:12: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-runner.js:17: ERROR - Illegal redeclared variable: projRoot
const projRoot = sumanUtils.findProjectRoot(process.cwd());
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-runner.js:19: ERROR - Illegal redeclared variable: file
const file = path.resolve(global.sumanHelperDirRoot + '/logs/runner-debug.log');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-server.js:6: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-server.js:7: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-server.js:8: ERROR - Illegal redeclared variable: os
const os = require('os');
      ^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-server.js:12: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-server.js:17: ERROR - Illegal redeclared variable: projRoot
const projRoot = sumanUtils.findProjectRoot(process.cwd());
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-server.js:18: ERROR - Illegal redeclared variable: file
const file = path.normalize(path.resolve(global.sumanHelperDirRoot + '/logs/server.log'));
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-test.js:6: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-test.js:7: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-test.js:8: ERROR - Illegal redeclared variable: os
const os = require('os');
      ^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-test.js:12: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/make-tail/tail-test.js:18: ERROR - Illegal redeclared variable: file
const file = path.normalize(path.resolve(global.sumanHelperDirRoot + '/logs/test-debug.log'));
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/parse-cmd-line-opts/parse-opts.js:4: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/parse-cmd-line-opts/parse-opts.js:5: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/parse-cmd-line-opts/parse-opts.js:6: ERROR - Illegal redeclared variable: assert
const assert = require('assert');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/parse-cmd-line-opts/parse-opts.js:7: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/parse-cmd-line-opts/parse-opts.js:11: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/parse-cmd-line-opts/parse-opts.js:12: ERROR - Illegal redeclared variable: _
const _ = require('lodash');
      ^^^^^^^^^^^^^^^^^^^^^

lib/parse-cmd-line-opts/parse-opts.js:15: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/parse-cmd-line-opts/parse-opts.js:16: ERROR - Illegal redeclared variable: constants
const constants = require('../../config/suman-constants');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/reporters/progress-reporter.js:2: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/reporters/progress-reporter.js:6: ERROR - Illegal redeclared variable: events
const events = require('suman-events');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/reporters/std-reporter.js:6: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/reporters/std-reporter.js:9: ERROR - Illegal redeclared variable: events
const events = require('suman-events');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/reporters/tap.js:4: ERROR - Illegal redeclared variable: events
const events = require('suman-events');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child-not-runner.js:4: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/run-child-not-runner.js:5: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/run-child-not-runner.js:8: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child-not-runner.js:9: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child-not-runner.js:10: ERROR - Illegal redeclared variable: debug
const debug = require('suman-debug')('s');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child-not-runner.js:13: ERROR - Illegal redeclared variable: constants
const constants = require('../config/suman-constants');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child-not-runner.js:38: ERROR - Illegal redeclared variable: sumanConfig
const sumanConfig = global.sumanConfig;
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child-not-runner.js:41: ERROR - Illegal redeclared variable: sumanHelperDirRoot
const sumanHelperDirRoot = global.sumanHelperDirRoot;
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child.js:10: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/run-child.js:11: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/run-child.js:12: ERROR - Illegal redeclared variable: assert
const assert = require('assert');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child.js:15: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child.js:18: ERROR - Illegal redeclared variable: constants
const constants = require('../config/suman-constants');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child.js:19: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child.js:20: ERROR - Illegal redeclared variable: fatalRequestReply
const fatalRequestReply = require('./helpers/fatal-request-reply');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child.js:26: ERROR - Illegal redeclared variable: projectRoot
const projectRoot = global.projectRoot = process.env.SUMAN_PROJECT_ROOT;
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child.js:120: ERROR - Illegal redeclared variable: singleProc
const singleProc = process.env.SUMAN_SINGLE_PROCESS === 'yes';
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-child.js:128: ERROR - Illegal redeclared variable: domain
const domain = require('domain');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul-old.js:4: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul-old.js:5: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul-old.js:6: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul-old.js:7: ERROR - Illegal redeclared variable: os
const os = require('os');
      ^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul-old.js:8: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul-old.js:11: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul-old.js:12: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul-old.js:15: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul.js:4: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul.js:5: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul.js:6: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul.js:7: ERROR - Illegal redeclared variable: os
const os = require('os');
      ^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul.js:8: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul.js:11: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul.js:12: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/run-coverage/exec-istanbul.js:15: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:4: ERROR - Illegal redeclared variable: assert
const assert = require('assert');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:5: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:6: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/run.js:7: ERROR - Illegal redeclared variable: domain
const domain = require('domain');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:8: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:9: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:12: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:13: ERROR - Illegal redeclared variable: _
const _ = require('lodash');
      ^^^^^^^^^^^^^^^^^^^^^

lib/run.js:14: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:15: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:16: ERROR - Illegal redeclared variable: rimraf
const rimraf = require('rimraf');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:17: ERROR - Illegal redeclared variable: events
const events = require('suman-events');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:18: ERROR - Illegal redeclared variable: debug
const debug = require('suman-debug')('s:cli');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:21: ERROR - Illegal redeclared variable: noFilesFoundError
const noFilesFoundError = require('./helpers/no-files-found-error');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:22: ERROR - Illegal redeclared variable: ascii
const ascii = require('./helpers/ascii');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:23: ERROR - Illegal redeclared variable: constants
const constants = require('../config/suman-constants');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/run.js:26: ERROR - Illegal redeclared variable: resultBroadcaster
const resultBroadcaster = global.resultBroadcaster = (global.resultBroadcaster || new EE());
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/get-file-paths.js:4: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/get-file-paths.js:5: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/runner-helpers/get-file-paths.js:6: ERROR - Illegal redeclared variable: assert
const assert = require('assert');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/get-file-paths.js:7: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/get-file-paths.js:10: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/get-file-paths.js:11: ERROR - Illegal redeclared variable: _
const _ = require('lodash');
      ^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/get-file-paths.js:12: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/get-file-paths.js:13: ERROR - Illegal redeclared variable: debug
const debug = require('suman-debug')('s:files');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/get-file-paths.js:16: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/get-file-paths.js:17: ERROR - Illegal redeclared variable: constants
const constants = require('../../config/suman-constants');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/get-file-paths.js:18: ERROR - Illegal redeclared variable: events
const events = require('suman-events');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/get-file-paths.js:19: ERROR - Illegal redeclared variable: resultBroadcaster
const resultBroadcaster = global.resultBroadcaster = global.resultBroadcaster || new EE();
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/make-handle-blocking.js:3: ERROR - Illegal redeclared variable: weAreDebugging
const weAreDebugging = require('../helpers/we-are-debugging');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/make-handle-blocking.js:8: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/make-handle-blocking.js:9: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/make-handle-blocking.js:12: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/make-handle-blocking.js:13: ERROR - Illegal redeclared variable: _
const _ = require('lodash');
      ^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/make-handle-blocking.js:17: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/make-handle-blocking.js:25: ERROR - Illegal redeclared variable: config
const config = global.sumanConfig;
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner-helpers/make-handle-blocking.js:26: ERROR - Illegal redeclared variable: maxProcs
const maxProcs = global.maxProcs;
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:14: ERROR - Illegal redeclared variable: execArgs
const execArgs = process.execArgv.slice(0);
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:40: ERROR - Illegal redeclared variable: assert
const assert = require('assert');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:41: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:42: ERROR - Illegal redeclared variable: EE
const EE = require('events');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:43: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/runner.js:44: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:45: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:46: ERROR - Illegal redeclared variable: os
const os = require('os');
      ^^^^^^^^^^^^^^^^^^

lib/runner.js:47: ERROR - Illegal redeclared variable: domain
const domain = require('domain');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:52: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:53: ERROR - Illegal redeclared variable: _
const _ = require('lodash');
      ^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:56: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:59: ERROR - Illegal redeclared variable: events
const events = require('suman-events');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:60: ERROR - Illegal redeclared variable: debug
const debug = require('suman-debug')('s:runner');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:64: ERROR - Illegal redeclared variable: constants
const constants = require('../config/suman-constants');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:66: ERROR - Illegal redeclared variable: ascii
const ascii = require('./helpers/ascii');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:67: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/runner.js:74: ERROR - Illegal redeclared variable: cwd
const cwd = process.cwd();
      ^^^^^^^^^^^^^^^^^^^

lib/runner.js:505: ERROR - Illegal redeclared variable: callbackOrPromise
const callbackOrPromise = require('./callback-or-promise');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:4: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/suman.js:5: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:6: ERROR - Illegal redeclared variable: domain
const domain = require('domain');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:7: ERROR - Illegal redeclared variable: EE
const EE = require('events');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:8: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:11: ERROR - Illegal redeclared variable: _
const _ = require('lodash');
      ^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:12: ERROR - Illegal redeclared variable: readline
const readline = require('readline');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:13: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:14: ERROR - Illegal redeclared variable: AsciiTable
const AsciiTable = require('ascii-table');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:15: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:16: ERROR - Illegal redeclared variable: fnArgs
const fnArgs = require('function-arguments');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:17: ERROR - Illegal redeclared variable: a8b
const a8b = require('ansi-256-colors'), fg = a8b.fg, bg = a8b.bg;
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:17: ERROR - Illegal redeclared variable: fg
const a8b = require('ansi-256-colors'), fg = a8b.fg, bg = a8b.bg;
                                        ^^^^^^^^^^^

lib/suman.js:17: ERROR - Illegal redeclared variable: bg
const a8b = require('ansi-256-colors'), fg = a8b.fg, bg = a8b.bg;
                                                     ^^^^^^^^^^^

lib/suman.js:18: ERROR - Illegal redeclared variable: events
const events = require('suman-events');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:21: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:22: ERROR - Illegal redeclared variable: finalizeOutput
const finalizeOutput = require('./helpers/finalize-output');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:23: ERROR - Illegal redeclared variable: findSumanServer
const findSumanServer = require('./find-suman-server');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:24: ERROR - Illegal redeclared variable: constants
const constants = require('../config/suman-constants');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/suman.js:28: ERROR - Illegal redeclared variable: weAreDebugging
const weAreDebugging = require('./helpers/we-are-debugging');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/t-proto-hook.js:2: ERROR - Illegal redeclared variable: assert
const assert = require('assert');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/t-proto-hook.js:5: ERROR - Illegal redeclared variable: proto
const proto = require('./t-proto');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/t-proto-test.js:2: ERROR - Illegal redeclared variable: assert
const assert = require('assert');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/t-proto-test.js:5: ERROR - Illegal redeclared variable: proto
const proto = require('./t-proto');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/t-proto.js:3: ERROR - Illegal redeclared variable: EE
const EE = require('events');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/get-all-eaches.js:6: ERROR - Illegal redeclared variable: _
const _ = require('underscore');
      ^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-callback-helper.js:2: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-callback-helper.js:3: ERROR - Illegal redeclared variable: assert
const assert = require('assert');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-callback-helper.js:6: ERROR - Illegal redeclared variable: constants
const constants = require('../../config/suman-constants');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-callback-helper.js:7: ERROR - Illegal redeclared variable: cloneError
const cloneError = require('../clone-error');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-promise-generator.js:6: ERROR - Illegal redeclared variable: makeGen
const makeGen = require('../helpers/async-gen');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-test-result.js:2: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-test-result.js:5: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-test-result.js:9: ERROR - Illegal redeclared variable: testErrors
const testErrors = global.testErrors = global.testErrors || [];
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-test-result.js:10: ERROR - Illegal redeclared variable: errors
const errors = global.sumanRuntimeErrors = global.sumanRuntimeErrors || [];
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-test.js:2: ERROR - Illegal redeclared variable: domain
const domain = require('domain');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-test.js:3: ERROR - Illegal redeclared variable: assert
const assert = require('assert');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-test.js:6: ERROR - Illegal redeclared variable: fnArgs
const fnArgs = require('function-arguments');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-test.js:7: ERROR - Illegal redeclared variable: _
const _ = require('lodash');
      ^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-test.js:10: ERROR - Illegal redeclared variable: constants
const constants = require('../../config/suman-constants');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-test.js:11: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-test.js:13: ERROR - Illegal redeclared variable: helpers
const helpers = require('./handle-promise-generator');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/handle-test.js:16: ERROR - Illegal redeclared variable: freezeExistingProps
const freezeExistingProps = require('../freeze-existing');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-befores-afters.js:4: ERROR - Illegal redeclared variable: domain
const domain = require('domain');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-befores-afters.js:5: ERROR - Illegal redeclared variable: assert
const assert = require('assert');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-befores-afters.js:8: ERROR - Illegal redeclared variable: _
const _ = require('lodash');
      ^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-befores-afters.js:11: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-befores-afters.js:12: ERROR - Illegal redeclared variable: fnArgs
const fnArgs = require('function-arguments');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-befores-afters.js:15: ERROR - Illegal redeclared variable: makeCallback
const makeCallback = require('./handle-callback-helper');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-befores-afters.js:16: ERROR - Illegal redeclared variable: helpers
const helpers = require('./handle-promise-generator');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-befores-afters.js:17: ERROR - Illegal redeclared variable: constants
const constants = require('../../config/suman-constants');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-befores-afters.js:18: ERROR - Illegal redeclared variable: cloneError
const cloneError = require('../clone-error');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-befores-afters.js:19: ERROR - Illegal redeclared variable: makeHookObj
const makeHookObj = require('../t-proto-hook');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-befores-afters.js:20: ERROR - Illegal redeclared variable: freezeExistingProps
const freezeExistingProps = require('../freeze-existing');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-each.js:4: ERROR - Illegal redeclared variable: domain
const domain = require('domain');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-each.js:5: ERROR - Illegal redeclared variable: assert
const assert = require('assert');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-each.js:8: ERROR - Illegal redeclared variable: _
const _ = require('lodash');
      ^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-each.js:9: ERROR - Illegal redeclared variable: fnArgs
const fnArgs = require('function-arguments');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-each.js:12: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-each.js:13: ERROR - Illegal redeclared variable: constants
const constants = require('../../config/suman-constants');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-each.js:14: ERROR - Illegal redeclared variable: cloneError
const cloneError = require('../clone-error');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-each.js:16: ERROR - Illegal redeclared variable: makeCallback
const makeCallback = require('./handle-callback-helper');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-each.js:17: ERROR - Illegal redeclared variable: helpers
const helpers = require('./handle-promise-generator');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-handle-each.js:18: ERROR - Illegal redeclared variable: freezeExistingProps
const freezeExistingProps = require('../freeze-existing');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-the-trap.js:3: ERROR - Illegal redeclared variable: domain
const domain = require('domain');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-the-trap.js:6: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/make-the-trap.js:13: ERROR - Illegal redeclared variable: implementationError
const implementationError = require('../helpers/implementation-error');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/notify-parent-that-child-is-complete.js:3: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/start-suite.js:2: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/start-suite.js:5: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/test-suite-helpers/start-suite.js:9: ERROR - Illegal redeclared variable: implementationError
const implementationError = require('../helpers/implementation-error');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/uninstall/uninstall-suman.js:7: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/uninstall/uninstall-suman.js:8: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/uninstall/uninstall-suman.js:9: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/uninstall/uninstall-suman.js:10: ERROR - Illegal redeclared variable: os
const os = require('os');
      ^^^^^^^^^^^^^^^^^^

lib/uninstall/uninstall-suman.js:13: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/uninstall/uninstall-suman.js:14: ERROR - Illegal redeclared variable: colors
const colors = require('colors');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/uninstall/uninstall-suman.js:17: ERROR - Illegal redeclared variable: sumanUtils
const sumanUtils = require('suman-utils/utils');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/use-babel/uninstall-babel.js:2: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/use-babel/uninstall-babel.js:3: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/use-babel/uninstall-babel.js:4: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/use-babel/uninstall-babel.js:5: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/use-babel/uninstall-babel.js:8: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/use-babel/uninstall-babel.js:12: ERROR - Illegal redeclared variable: installsGroupA
const installsGroupA = [
      ^^^^^^^^^^^^^^^^^^

lib/use-babel/use-babel.js:2: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/use-babel/use-babel.js:3: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/use-babel/use-babel.js:4: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/use-babel/use-babel.js:5: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/use-babel/use-babel.js:8: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/use-babel/use-babel.js:12: ERROR - Illegal redeclared variable: installsGroupA
const installsGroupA = [
      ^^^^^^^^^^^^^^^^^^

lib/use-istanbul/use-istanbul.js:2: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/use-istanbul/use-istanbul.js:3: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/use-istanbul/use-istanbul.js:4: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/use-istanbul/use-istanbul.js:5: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/use-istanbul/use-istanbul.js:8: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/use-istanbul/use-istanbul.js:9: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/use-server/use-server.js:2: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/use-server/use-server.js:3: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/use-server/use-server.js:4: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/use-server/use-server.js:5: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/use-server/use-server.js:8: ERROR - Illegal redeclared variable: async
const async = require('async');
      ^^^^^^^^^^^^^^^^^^^^^^^^

lib/use-server/use-server.js:9: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/use-server/use-server.js:14: ERROR - Illegal redeclared variable: installsGroupA
const installsGroupA = [
      ^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher-old.js:4: ERROR - Illegal redeclared variable: http
const http = require('http');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher-old.js:5: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher-old.js:6: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher-old.js:7: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher-old.js:10: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher-old.js:11: ERROR - Illegal redeclared variable: socketio
const socketio = require('socket.io-client');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher-old.js:14: ERROR - Illegal redeclared variable: sumanServer
const sumanServer = require('../create-suman-server');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher.js:4: ERROR - Illegal redeclared variable: http
const http = require('http');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher.js:5: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher.js:6: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher.js:7: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher.js:8: ERROR - Illegal redeclared variable: assert
const assert = require('assert');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher.js:9: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher.js:12: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher.js:13: ERROR - Illegal redeclared variable: socketio
const socketio = require('socket.io-client');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher.js:14: ERROR - Illegal redeclared variable: _
const _ = require('lodash');
      ^^^^^^^^^^^^^^^^^^^^^

lib/watching/add-watcher.js:17: ERROR - Illegal redeclared variable: sumanServer
const sumanServer = require('../create-suman-server');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/watching/stop-watching.js:4: ERROR - Illegal redeclared variable: http
const http = require('http');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/watching/stop-watching.js:5: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/watching/stop-watching.js:6: ERROR - Illegal redeclared variable: cp
const cp = require('child_process');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/watching/stop-watching.js:9: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/watching/stop-watching.js:12: ERROR - Illegal redeclared variable: sumanServer
const sumanServer = require('../create-suman-server');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/watching/watch-init.js:4: ERROR - Illegal redeclared variable: assert
const assert = require('assert');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^

lib/watching/watch-init.js:5: ERROR - Illegal redeclared variable: path
const path = require('path');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/watching/watch-init.js:6: ERROR - Illegal redeclared variable: fs
const fs = require('fs');
      ^^^^^^^^^^^^^^^^^^

lib/watching/watch-init.js:7: ERROR - Illegal redeclared variable: util
const util = require('util');
      ^^^^^^^^^^^^^^^^^^^^^^

lib/watching/watch-init.js:10: ERROR - Illegal redeclared variable: colors
const colors = require('colors/safe');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I bet this is a duplicate issue. What is the status on this? Can I avoid this error? Should I bother "compiling" a node.js command line app?

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