x)- [x] bug report -> please search issues before submitting
- [ ] feature request
Create a new project
ng new foo --ng4
Ensure version of @angular/core
npm ls @angular/core
<!-- Normally this include a stack trace and some more information. -->
└── UNMET PEER DEPENDENCY [email protected]
npm ERR! peer dep missing: zone.js@^0.8.4, required by @angular/[email protected]
Update the version of zone.js to the version above for apps created using Angular 4.0.0-rc.4 or later.
While I updated to "zone.js": "^0.8.4". issue looks resolved.
See https://github.com/angular/angular-cli/issues/5432 for why frequency is critical (it breaks unit tests).
Hi.
What is the syntax for updating zone.js ?
i tried npm install tsd but didnt worked
@angular/[email protected] requires a peer of zone.js@^0.8.4 but none was installed.
@shijilesh Try this: npm install zone.js@^0.8.4
i tried npm install zone.js@^0.8.4 and also .5 but am getting error as invalid
On my end, it was already installed but it didn't want to update since my company is blocking the git protocol/port, so I had to change the repository type and URL to https:
node_modules/zone.js/package.json
"repository": {
"type": "https",
"url": "https://github.com/angular/zone.js.git"
},
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._