You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Anton Golub (Jira)" <ji...@apache.org> on 2019/11/24 19:44:00 UTC

[jira] [Created] (THRIFT-5029) Latest (0.13.0) Node.js lib does not provide entry point

Anton Golub created THRIFT-5029:
-----------------------------------

             Summary: Latest (0.13.0) Node.js lib does not provide entry point
                 Key: THRIFT-5029
                 URL: https://issues.apache.org/jira/browse/THRIFT-5029
             Project: Thrift
          Issue Type: Bug
          Components: Node.js - Library
            Reporter: Anton Golub


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:
{code:java}
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)

{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)