d3

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
jgilli01
Posts: 9
Joined: 09 Feb 2017, 16:47

22 Mar 2017, 22:44

Hey,

I am trying to add d3v4 into this project. I have installed "d3v4": "^4.2.2" and "@types/d3": "^4.7.0". I have added import * as d3 from 'd3'; on my component. I am getting the types picked up, but at run time I am getting a 'cannot resolve d3'.

Any ideas?

John

User avatar
DarthMaul
Posts: 582
Joined: 23 Nov 2015, 21:20

23 Mar 2017, 09:58

Hi,

We will try to replicate this situation and get back to you.

jgilli01
Posts: 9
Joined: 09 Feb 2017, 16:47

23 Mar 2017, 14:36

I have figured out my issue. I had installed d3v4 instead of just d3. I removed both the d3v4 from dependencies and @types/d3 and followed the instructions: https://github.com/angular/angular-cli/ ... -party-lib and it looks like it's working. I need to stop overthinking sometimes! lol

Thanks for looking into this for me.

John

User avatar
DarthMaul
Posts: 582
Joined: 23 Nov 2015, 21:20

24 Mar 2017, 09:08

Hi John,

Glad to hear that.

Post Reply

Return to “Poseidon - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests