-
Notifications
You must be signed in to change notification settings - Fork 12k
ng test --lint results in "Module build failed: TypeError: Linter is not a constructor" #3461
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
Comments
Did some more digging, it appears tslint-loader resolves to version 2.1.5 for me (angular-cli's package.json specifies
So looks like we need an update of tslint-loader (its 3.x series supports tslint 4.0). So I have done a |
Same problem with UNMET tslint dependency addressed in #3453 |
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?
OS X El Cap
Versions.
angular-cli: 1.0.0-beta.22-1
node: 6.9.1
os: darwin x64
Repro steps.
Run ng test --lint
The log given by the failure.
Mention any other details that might be useful.
I'm using yarn and have performed a clean re-install of angular-cli (yarn remove && yarn add) for the upgrade from .beta-21 to .beta-22 so that all indirect dependencies are on their latest version as well. However, running a
yarn check
(checks the integrity of all specified version dependencies) yields this error:So it seems angular-cli maybe needs an upgrade of tslint-loader in its package.json?
The text was updated successfully, but these errors were encountered: