-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beta.22 tslint hangs for me #3404
Comments
Did you also update codelyzer and tslint in package.json? Did you try deleting node_modules and do a fresh npm install? |
Yes, did update my package.json and just now also tried a clean npm
install. Didn't help. Does it work for you?
Am 05.12.2016 19:14 schrieb "Kristofer Karlsson" <notifications@github.com>:
… Did you also update codelyzer and tslint in package.json? Did you try
deleting node_modules and do a fresh npm install?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3404 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAH8NxcuWprI6bctQ5Mwd0P5YZu8LMWgks5rFFRygaJpZM4LEVYI>
.
|
Yes, works just fine for me. |
Works for me too. Could you provide your package.json? |
See below (email did not support markdown), thanks @hansl
|
Reformatting: {
"name": "redacted",
"version": "0.0.0",
"license": "MIT",
"angular-cli": {},
"scripts": {
"ng": "ng",
"start": "ng serve --target=${TARGET:-development}
--environment=${ENVIRONMENT:-dev} --aot=${AOT:-false} --port 9001",
"lint": "tslint \"src/**/*.ts\"",
"test": "ng test --watch false",
"build": "ng build --target=${TARGET:-development}
--environment=${ENVIRONMENT:-dev} --aot=${AOT:-true}",
"pree2e": "webdriver-manager update",
"e2e": "protractor",
"ci": "npm run lint && npm run build && npm run test && node
run-e2e.js",
"servebuilt": "http-server -a localhost -p 9001 ./dist",
"privateci": "fly -t ci execute -c ./../ci/build.yml -i repo=./../ -x"
},
"private": true,
"dependencies": {
"@angular/common": "^2.2.1",
"@angular/compiler": "^2.2.3",
"@angular/core": "^2.2.3",
"@angular/forms": "^2.2.1",
"@angular/http": "^2.2.1",
"@angular/platform-browser": "^2.2.1",
"@angular/platform-browser-dynamic": "^2.2.1",
"@angular/router": "^3.2.1",
"@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.14",
"angular2-infinite-scroll": "^0.2.6",
"angular2-notifications": "0.4.46",
"bootstrap": "4.0.0-alpha.5",
"chart.js": "~2.3.0",
"core-js": "^2.4.1",
"font-awesome": "^4.7.0",
"ng2-slim-loading-bar": "^2.0.4",
"rxjs": "5.0.0-beta.12",
"ts-helpers": "^1.1.1",
"zone.js": "^0.6.23"
},
"devDependencies": {
"@angular/compiler-cli": "^2.2.3",
"@types/chart.js": "0.0.7",
"@types/jasmine": "2.5.38",
"@types/node": "^6.0.42",
"angular-cli": "1.0.0-beta.22",
"codelyzer": "~2.0.0-beta.1",
"http-server": "^0.9.0",
"jasmine-core": "2.5.2",
"jasmine-spec-reporter": "2.5.0",
"karma": "1.2.0",
"karma-chrome-launcher": "^2.0.0",
"karma-cli": "^1.0.1",
"karma-jasmine": "^1.0.2",
"karma-remap-istanbul": "^0.2.1",
"protractor": "4.0.9",
"sass-material-colors": "^0.0.5",
"ts-node": "1.2.1",
"tslint": "^4.0.2",
"typescript": "~2.0.3",
"webdriver-manager": "10.2.5"
}
} |
@mgechev The above seems correct to me for versions. Would you have any insights on this issue? @JohannesHoppe Unfortunately, everything seems to be in order. It might be related to that issue above on tslint itself. Unless Minko has any insights, I'm going to close this, as it is not an issue with the CLI. One last thing you can try is to actually nuke your node_modules and reinstall: rm -rf node_modules/
npm cache clean
npm install |
Could be related to either tslint or codelyzer. It will be great if you can share minimal demo where you can reproduce the issue. |
Thanks for taking the time to look at this issue @hansl and @mgechev. I did some more digging by manually including rules of my
I strongly suspect this is a codelyzer issue, which might be related to my code specifically. Here's a run without and then with one of these rules
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
Versions.
Repro steps.
The log given by the failure.
Mention any other details that might be useful.
Might be a tslint issue after all and without a stacktrace there's not a lot I can do for you I'm afraid. just wanted to inform you that I hit this issue and that I wouldn't consider tslint 4.0 suitable for angular-cli unless the underlying issue is resolved. Might be worth tracking palantir/tslint#1131
The text was updated successfully, but these errors were encountered: