angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

ng lint hangs , angular 6

Open duduav opened this issue 8 years ago • 6 comments

Bug Report or Feature Request (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request

Area

- [ ] devkit
- [ x] schematics

Versions

node -v : v8.9.1 npm -v 5.5.1 Windows 10

Repro steps

in my local project i upgraded from angular 5 to 6 ng lint now hangs , no errors

The log given by the failure

Desired functionality

Mention any other details that might be useful

private repo

duduav avatar Jul 11 '18 14:07 duduav

This appears to be a bug but we will need to look at a reproduction to find and fix the problem. Can you setup a minimal reproduction please?

You can read here why this is needed. A good way to make a minimal reproduction is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.

clydin avatar Jul 11 '18 17:07 clydin

how can i know which rules are deprecated in angular 6 cli

duduav avatar Jul 12 '18 13:07 duduav

check your package.json if you have rxjs-tslint as a dependency. We were running into this a couple weeks ago when we migrated and I believe uninstalling that is what ended up fixing it. You shouldn't need it with v6 anyway. I think it conflicts with the new version of rxjs that ng6 uses and there's probably an unhandled import or type error somewhere.

ajspera avatar Jul 13 '18 20:07 ajspera

thanks i don't have rxjs-tslint in package.config

duduav avatar Jul 16 '18 13:07 duduav

the issue was solve after removing some costume rules from the config file

duduav avatar Jul 23 '18 11:07 duduav

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.