Skip to content
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

Karma tests fail due to missing files #21

Open
BrunoFenzl opened this issue Jun 7, 2016 · 0 comments
Open

Karma tests fail due to missing files #21

BrunoFenzl opened this issue Jun 7, 2016 · 0 comments

Comments

@BrunoFenzl
Copy link

after installing the seed I run npm start and the server laods the page "localhost:5555" blank, just with teh default "Loading…" text.
When i hit npm test I get following warnings:

START:
07 06 2016 13:21:00.882:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
07 06 2016 13:21:00.890:INFO [launcher]: Starting browser PhantomJS
07 06 2016 13:21:00.904:INFO [launcher]: Starting browser Chrome
07 06 2016 13:21:02.557:INFO [PhantomJS 2.1.1 (Mac OS X 0.0.0)]: Connected on socket /#uyzmcL2164AkIvvEAAAA with id 15625644
07 06 2016 13:21:02.606:INFO [Chrome 50.0.2661 (Mac OS X 10.11.4)]: Connected on socket /#IbMNlYceNsB3Em1cAAAB with id 53616086
07 06 2016 13:21:05.348:WARN [web-server]: 404: /base/@angular/core.js
07 06 2016 13:21:05.349:WARN [web-server]: 404: /base/@angular/core/src/facade/lang.js
07 06 2016 13:21:05.356:WARN [web-server]: 404: /base/@angular/common.js
07 06 2016 13:21:05.376:WARN [web-server]: 404: /base/@angular/platform-browser.js
Chrome 50.0.2661 (Mac OS X 10.11.4) ERROR: Error{originalErr: Error{}}
07 06 2016 13:21:05.448:WARN [web-server]: 404: /base/@angular/core.js
07 06 2016 13:21:05.452:WARN [web-server]: 404: /base/@angular/common.js
07 06 2016 13:21:05.466:WARN [web-server]: 404: /base/@angular/core/src/facade/lang.js
07 06 2016 13:21:06.480:WARN [web-server]: 404: /base/@angular/core.js
07 06 2016 13:21:06.484:WARN [web-server]: 404: /base/@angular/core/src/facade/lang.js
07 06 2016 13:21:06.495:WARN [web-server]: 404: /base/@angular/common.js
07 06 2016 13:21:06.544:WARN [web-server]: 404: /base/@angular/platform-browser.js
07 06 2016 13:21:06.631:WARN [web-server]: 404: /base/@angular/core.js
07 06 2016 13:21:06.632:WARN [web-server]: 404: /base/@angular/common.js
07 06 2016 13:21:06.639:WARN [web-server]: 404: /base/@angular/core/src/facade/lang.js

and a little bit later :

ERROR: Error{stack: null, originalErr: Error{}, line: 823, sourceURL: 'http://localhost:9876/base/node_modules/systemjs/dist/system.src.js?ce47c157d0451bc324d5039dfc7b04fa1cf0925d'}
  auth component
    ✖ should work
  NameList Service
    ✔ should return the list of names

Finished in 0.093 secs / 0.121 secs

SUMMARY:
✔ 2 tests completed
✖ 2 tests failed

FAILED TESTS:
  auth component
    ✖ should work
      Chrome 50.0.2661 (Mac OS X 10.11.4)
      PhantomJS 2.1.1 (Mac OS X 0.0.0)
    Failed: undefined is not a constructor (evaluating 'new AsyncTestZoneSpec(finishCallback, failCallback, 'test')')
    ZoneAwarePromise@/Users/Allmighty/Sites/plentyUI/v3/node_modules/zone.js/dist/zone.js:584:38
    /Users/Allmighty/Sites/plentyUI/v3/test-main.js:63:18
    invoke@/Users/Allmighty/Sites/plentyUI/v3/node_modules/zone.js/dist/zone.js:323:34
    run@/Users/Allmighty/Sites/plentyUI/v3/node_modules/zone.js/dist/zone.js:216:50
    /Users/Allmighty/Sites/plentyUI/v3/node_modules/zone.js/dist/zone.js:571:61
    invokeTask@/Users/Allmighty/Sites/plentyUI/v3/node_modules/zone.js/dist/zone.js:356:43
    runTask@/Users/Allmighty/Sites/plentyUI/v3/node_modules/zone.js/dist/zone.js:256:58
    drainMicroTaskQueue@/Users/Allmighty/Sites/plentyUI/v3/node_modules/zone.js/dist/zone.js:474:43
    invoke@/Users/Allmighty/Sites/plentyUI/v3/node_modules/zone.js/dist/zone.js:426:41
    /Users/Allmighty/Sites/plentyUI/v3/node_modules/zone.js/dist/zone.js:93:33
    invokeTask@/Users/Allmighty/Sites/plentyUI/v3/node_modules/zone.js/dist/zone.js:356:43
    runTask@/Users/Allmighty/Sites/plentyUI/v3/node_modules/zone.js/dist/zone.js:256:58
    invoke@/Users/Allmighty/Sites/plentyUI/v3/node_modules/zone.js/dist/zone.js:423:41

I know the project is not maintained anymore, but I want to try to make it run with the latest angular2 updates. Any help here more than appreciated!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant