tscircuit / easyeda-converter

Convert easyeda JSON PCB footprints into tscircuit json
MIT License
2 stars 2 forks source link

[C490691] Failed to import from JLCPCB #73

Closed seveibar closed 4 weeks ago

seveibar commented 4 weeks ago

I tried to import the part number C490691 from JLCPCB, but it failed. Here's the error I got:

Failed to generate snippet from JLCPCB part: [
  {
    "code": "invalid_type",
    "expected": "number",
    "received": "undefined",
    "path": [
      "packageDetail",
      "dataStr",
      "head",
      "importFlag"
    ],
    "message": "Required"
  }
]

Could be an issue in fetchEasyEDAComponent or convertRawEasyEdaToTs