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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.1
    • Node.js - Library
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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