Skip to content

Unable to convert from TSLint to ESLint with tslint-to-eslint-config 2.7.0 #571

Closed
@mkurte

Description

@mkurte

Hi guys,

in this issue I described that I am not able to run the command to migrate from tslint to eslint.

When I type ng g @angular-eslint/schematics:convert-tslint-to-eslint PROJECTNAME and check the defaults I get this error:

There was a critical error when trying to inspect your tslint.json:

env: node: No such file or directory

I'm running this command on a mac, in a multiple projects workspace.
My project is in the root folder, the tslint.json file too. Is there something I am missing?

If I type npx tslint --print-config {PATH_TO_YOUR_TSLINT_JSON_HERE} as suggested I get a new tslint.json config, but that one doesn't work too.

Many thanks in advance,
Matthias

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked:tslint-to-eslint-configThis issue requires changes to tslint-to-eslint-config in order to be resolvedbugSomething isn't workingpackage: schematicsAngular CLI schematics which are responsible for configuration generation and automated migrations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions