You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The process fails in step :build:components:spec with:
node_modules/@types/jasmine/index.d.ts(39,38): error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
node_modules/@types/jasmine/index.d.ts(39,46): error TS2304: Cannot find name 'keyof'.
node_modules/@types/jasmine/index.d.ts(39,52): error TS1005: '=' expected.
What are the steps to reproduce?
Run gulp test on the master branch.
Which versions of Angular, Material, OS, browsers are affected?
Latest Version of Material, Windows 10, Angular 2.4.7
Is there anything else we should know?
I'm no expert in unit tests, but simply starting them on a new cloned repository should work (e2e tests are working fine). It could be possible too, that this is just a problem on my system, because otherwise someone would have already noticed this.
On 13 Feb 2017, at 17:50, Kara ***@***.***> wrote:
Okay, just blew away my node modules and started from scratch. Also getting the error now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
Activity
modernfidelity commentedon Feb 13, 2017
I'll also getting this via -> gulp build:release at the "Starting ':build:components:ngc'" step
kara commentedon Feb 13, 2017
Running tests works for me on master. What version of node are you running? I'm running 6.2.2.
dahaupt commentedon Feb 13, 2017
@kara I'm running version v6.9.5 of node (latest).
trshafer commentedon Feb 13, 2017
I have the same issue. I'm running 6.9.4, as that is what travis is running on: https://github.com/angular/material2/blob/master/.travis.yml#L5
kara commentedon Feb 13, 2017
How about Typescript versions? I'm doing a fresh npm install now from scratch to see if that breaks anything..
dahaupt commentedon Feb 13, 2017
My global Typescript version is 2.1.5, in the project (master) it is 2.0.10. I'm not sure which one is used for tests.
trshafer commentedon Feb 13, 2017
Did a git bisect of "npm install && npm test". This is the commit where it changed from a warning to an error 4a4261e.
kara commentedon Feb 13, 2017
Okay, just blew away my node modules and started from scratch. Also getting the error now.
modernfidelity commentedon Feb 13, 2017
owlstack commentedon Feb 16, 2017
I'm having the same issue. Is this resolved? should I wait for latest release?
trshafer commentedon Feb 16, 2017
@owlstack, are you still getting the issue with #3080 merged in? Did you remove your node_modules folder and re install?
Slashmsu commentedon Feb 18, 2017
I have the same error, I removed node_modules and reinstalled it, but I still have this error
jppellerin commentedon Mar 1, 2017
I had this issue and I can confirm that going back down to 2.5.38 resolved it.
angular-automatic-lock-bot commentedon Sep 5, 2019
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.