You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "4F2E4A2E (Jira)" <ji...@apache.org> on 2020/05/10 17:58:00 UTC

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

    [ https://issues.apache.org/jira/browse/THRIFT-5029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17103897#comment-17103897 ] 

4F2E4A2E edited comment on THRIFT-5029 at 5/10/20, 5:57 PM:
------------------------------------------------------------

[This is also maybe related: https://github.com/apache/thrift/pull/1855|https://github.com/apache/thrift/pull/1855]


was (Author: 4f2e4a2e):
[https://github.com/apache/thrift/pull/1855]

> 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
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)