Skip to content

v3.2.0 has a missing linter dependency? #22

@maaso

Description

@maaso

On v3.2.0, when running npm run build on a new project (after fixing prettier errrors), linting fails with the following message:

An unhandled exception occurred: Failed to load plugin '@angular-ru/eslint-plugin-enterprise' declared in '.eslintrc.json » @angular-ru/eslint-config-enterprise#overrides[0]': Cannot find module '@angular-ru/cdk/array'
Require stack:
- /repos/test-project/node_modules/@angular-ru/eslint-plugin-enterprise/dist/utils/get-options.js
- /repos/test-project/node_modules/@angular-ru/eslint-plugin-enterprise/dist/rules/no-siffix-file/no-suffix-file.js
- /repos/test-project/node_modules/@angular-ru/eslint-plugin-enterprise/dist/index.js
- /repos/test-project/node_modules/@eslint/eslintrc/lib/config-array-factory.js
- /repos/test-project/node_modules/@eslint/eslintrc/lib/index.js
- /repos/test-project/node_modules/eslint/lib/cli-engine/cli-engine.js
- /repos/test-project/node_modules/eslint/lib/cli-engine/index.js
- /repos/test-project/node_modules/eslint/lib/api.js
- /repos/test-project/node_modules/@angular-eslint/builder/dist/utils/eslint-utils.js
- /repos/test-project/node_modules/@angular-eslint/builder/dist/lint.impl.js
- /repos/test-project/node_modules/@angular-eslint/builder/dist/compat.js
- /repos/test-project/node_modules/@angular/cli/node_modules/@angular-devkit/architect/node/node-modules-architect-host.js
- /repos/test-project/node_modules/@angular/cli/node_modules/@angular-devkit/architect/node/index.js
- /repos/test-project/node_modules/@angular/cli/models/architect-command.js
- /repos/test-project/node_modules/@angular/cli/commands/lint-impl.js
- /repos/test-project/node_modules/@angular-devkit/schematics/tools/export-ref.js
- /repos/test-project/node_modules/@angular-devkit/schematics/tools/index.js
- /repos/test-project/node_modules/@angular/cli/utilities/json-schema.js
- /repos/test-project/node_modules/@angular/cli/models/command-runner.js
- /repos/test-project/node_modules/@angular/cli/lib/cli/index.js
- /repos/test-project/node_modules/@angular/cli/lib/init.js
- /repos/test-project/node_modules/@angular/cli/bin/ng
See "/tmp/ng-V1RtD5/angular-errors.log" for further details.

Which looks like there is a dependency missing or something similar. Maybe related to package structure changes on the @Angular-RU side?

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