Skip to content

Instantly share code, notes, and snippets.

@andreastt
Created November 28, 2019 16:01

Revisions

  1. andreastt created this gist Nov 28, 2019.
    17 changes: 17 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    % ./mach lint --fix remote/
    error: problem with lint setup, skipping android-api-lint, android-checkstyle, android-javadoc, android-lint, android-test
    An error occurred running eslint. Please check the following error messages:

    TypeError: CLIEngine is not a constructor
    at Object.execute (/home/ato/src/gecko/node_modules/eslint/lib/cli.js:208:28)
    at Object.<anonymous> (/home/ato/src/gecko/node_modules/eslint/bin/eslint.js:81:28)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
    A failure occurred in the eslint linter.
    ✖ 1 problem (0 errors, 0 warnings, 1 failure)