Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5029

Latest (0.13.0) Node.js lib does not provide entry point

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Node.js - Library
    • Labels:
      None

      Description

      The latest published `thrift` version:

      • does not contain 'index.js' at the package root
      • has no "main" entry point in package.json

      So module request throws an exception:

      require('thrift')
      Thrown:
      Error: Cannot find module 'thrift'
      Require stack:
      - <repl>
          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15)
          at Function.Module._load (internal/modules/cjs/loader.js:527:27)
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                antongolub Anton Golub
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m