question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

d3 peer dependencies

See original GitHub issue

I’m submitting a … (check one with “x”)

  • bug report - search github for a similar issue or PR before submitting
  • feature request
  • support request - use StackOverflow (add the ngx-charts tag) or the gitter chat for support questions

Current behavior package.json declares each d3 package as a dependency as well as a peerDependency. Would expect peerDependency & devDependency or just dependency. This results in unnecessary warnings.

Expected behavior Declare d3 packages as dependencies, peerDependencies seems extraneous.

Reproduction of the problem yarn / npm install

What is the motivation / use case for changing the behavior? No need for extra packages

Please tell us about your environment:

  • ngx-charts version: 10.0.0
  • Angular version: 7.0.2
  • Browser: all
  • Language: all

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:13
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rbirkgitcommented, May 14, 2019

Any reason swimlane still uses 4.x instead of 5.x?

1reaction
dapullarcommented, Feb 22, 2019

This is the worlds easiest fix, what is the hold up here? Do I need to make a PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

d3 versions and peer dependencies - NPM Peer
Online Peer dependency version tool to search for compatible versions of related NPM packages.
Read more >
Peer Dependencies | Node.js
The best way to determine what your peer dependency requirements should be is to actually follow semver. Assume that only changes in the...
Read more >
UNMET PEER DEPENDENCY D3.js and Angular 2
My project works currently (but I haven't started coding with D3)... Is it merely that the wrong version of something is installed? I've...
Read more >
UNMET PEER DEPENDENCY D3.js and Angular 2 - YouTube
node.js: UNMET PEER DEPENDENCY D3.js and Angular 2Thanks for taking the time to learn more. In this video I'll go through your question, ......
Read more >
NPM: What are project dependencies? -- newline - Fullstack.io
Peer dependencies are similar to dependencies except for a few key features. First, when installing a peer dependency it doesn't get added to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found