Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

npm test fails when zone.js is 0.6.14 #186

Closed
psnider opened this issue Aug 18, 2016 · 3 comments
Closed

npm test fails when zone.js is 0.6.14 #186

psnider opened this issue Aug 18, 2016 · 3 comments

Comments

@psnider
Copy link

psnider commented Aug 18, 2016

I just did a fresh install of version 6ce71a0

  • Mac with OS El Capitan 10.11.6
  • node v5.12.0

When I run npm test, it fails and displays:

[1] Chrome 52.0.2743 (Mac OS X 10.11.6) ERROR
[1]   Uncaught Error: Missing: SyncTestZoneSpec
[1]   at /private/tmp/qwob/quickstart/node_modules/zone.js/dist/jasmine-patch.js:66

I'm able to get around this by downgrading zone.js back to 0.6.12. I changed package.json to reference the exact version of zone.js:

    "zone.js": "0.6.12",

Also, to prevent these types of problems, please change the dependencies in package.json to be exact.

@filipesilva
Copy link
Contributor

@Foxandxss I know you were having some issues with zone as well, can you weigh in?

@psnider
Copy link
Author

psnider commented Aug 19, 2016

I'm not familiar with zone.js yet, but found the cause by comparing an older working tutorial, and the latest version. I compared the results of npm list in the two workspaces, then I narrowed the problem down to zone.js.

@Foxandxss
Copy link
Member

Yes, we needed to merge #184. Now it is done, and it should work for everyone.

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

No branches or pull requests

3 participants