stacktracejs/stacktrace.js

Unmet peer dependency @angular/core@4.2.3

egorowp opened this issue · 3 comments

On installing stacktrace.js via npm to angular 4.2.3 we have:

+-- UNMET PEER DEPENDENCY @angular/core@4.2.3
+-- UNMET PEER DEPENDENCY @angular/router@4.2.3

Current Behavior

after npm install stacktrace-js I see:

+-- UNMET PEER DEPENDENCY @angular/core@4.2.3
+-- UNMET PEER DEPENDENCY @angular/router@4.2.3
`-- stacktrace-js@1.3.1

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN @angular/animations@4.2.5 requires a peer of @angular/core@4.2.5 but none was installed.
npm WARN ngx-modal@0.0.29 requires a peer of @angular/core@^2.0.0 but none was installed.
npm WARN ngx-modal@0.0.29 requires a peer of @angular/router@^3.0.0 but none was installed.

Steps to Reproduce (for bugs)

run npm install stacktrace-js

I'd love some help from someone with a bit more knowledge of the problem, so I'm going to mark this issue help-wanted

This issue is not related with stacktrace.js because stacktrace.js package.json not include @angular/core @angular/router.
You should check other npm package (which is related with @angular/core, @angular/router).

As mentioned above, Angular isn't a peer dependency of this library. This is due to your other packages, and is unrelated to stacktrace.js