lathonez / clicker

Ionic 2 + @angular/cli Seed Project : Angular2 + Typescript + Karma + Protractor + Travis
http://lathonez.com/2018/ionic-2-unit-testing/
MIT License
430 stars 137 forks source link

Hello I have some problem when I doing npm test #222

Closed yandong0475 closed 7 years ago

yandong0475 commented 7 years ago

some errors occured:

/Users/yandong/Documents/XiaoBaoBaoXiao/XiaoBao/node_modules/@ngtools/json-schema/src/schema-class-factory.js:33 result.push(...indices); ^^^

SyntaxError: Unexpected token ...

lathonez commented 7 years ago

Seems you are having problems testing your own app. Please see #191.

lathonez commented 7 years ago

Please accept my apologies. The same issue has just be raised in #223 so obviously is not a problem with your project

lathonez commented 7 years ago

Can you replicate this issue by cloning, installing and testing this repo?

If not, there's likely a version difference in one of the packages. Compare the package.json of this project with yours and make sure the versions are the same.

marcelofb commented 7 years ago

I solved. The error was the version of node. Here the problem and the solution https://github.com/angular/angular-cli/issues/4604

lathonez commented 7 years ago

Thanks.