d3 / d3-shape

Graphical primitives for visualization, such as lines and areas.
https://d3js.org/d3-shape
ISC License
2.47k stars 304 forks source link

undefined is not an object _d3Shape.default.line #165

Closed being-yash-t closed 3 years ago

being-yash-t commented 3 years ago

I am new to react native After installing d3-shape, d3-scale, types@d3-shape & types@d3-scale

when I try

shape.line()

Only thing I see is

TypeError: undefined is not an object (evaluating '_d3Shape.default.line')
factory(
          ^
    global,
    metroRequire,
    metroImportDefault

Help!!!

OS: Android 10 - Q

mbostock commented 3 years ago

This seems like an issue with your development setup, and unfortunately I don’t have any idea on what’s gone wrong here. Maybe try Stack Overflow?