-
Notifications
You must be signed in to change notification settings - Fork 100
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
ng add @angular-eslint/schematics@latest fails trying to install coffeescript@1.12.8 #839
Comments
The proper way of fixing it is to ask cson-parser maintainers to pin the coffescript version to |
Alright, |
Okie dokie, thanks for pushing on this! https://www.npmjs.com/package/tslint-to-eslint-config/v/2.0.1 is released and should fix this issue. Please do post here if it's still broken! |
Thank you for the fix! Now I simply wait for https://github.com/angular-eslint new release, which should point to the latest release of https://github.com/typescript-eslint/tslint-to-eslint-config in https://github.com/angular-eslint/angular-eslint/blob/master/packages/schematics/package.json so that I can use |
Hi All, one issue I am face same as this I am trying to update by tslint to ESLint using commant - ng add @angular-eslint/schematics npm ERR! A complete log of this run can be found in: Any suggestions ? |
@amit2206 that doesn't look related to this issue. Your errors and call stack don't mention A couple of maybe helpful suggestions:
Closing and locking because this issue has been resolved for quite some time. New discussions should be filed in new issues. Cheers everyone! |
🐛 Bug Report
tslint-to-eslint-config
version: 2.0.0-beta5 (from the latest release https://github.com/angular-eslint/angular-eslint/blob/69303fa600e471abe5e719216179b1bdbb9662da/packages/schematics/package.json)Actual Behavior
ng add @angular-eslint/schematics@latest
fails during installing packages for tooling via npm phase.Expected Behavior
ng add @angular-eslint/schematics@latest
should install all the relevant packages for migrating an Angular CLI project from Codelyzer and TSLint.Reproduction
ng add @angular-eslint/schematics@latest
.Apparently the error occurs because of
cson-parser
, which hascoffeescript
as a dependency, which I mentioned at #728 (comment)Even the latest
cson-parser
uses"coffeescript": "^1.12.7"
, which results in attempt to install non-existentcoffeescript@1.12.8
. The problem has been earlier discussed in other repositories such as npm/registry-issue-archive#248Environment
The text was updated successfully, but these errors were encountered: