[
https://issues.apache.org/jira/browse/THRIFT-5029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mario Emmenlauer closed THRIFT-5029.
------------------------------------
> 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
> Fix For: 0.14.1
>
> Time Spent: 1h 20m
> 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)