You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2016/02/07 01:32:39 UTC

[jira] [Comment Edited] (THRIFT-3603) Thrift doesn't generate the gen-nodejs folder but the gen-js one with thrift --gen js:nodejs interface.thrift

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

Jens Geyer edited comment on THRIFT-3603 at 2/7/16 12:32 AM:
-------------------------------------------------------------

Maybe your critical bug all of a sudden occures because the command is supposed to be

{code}
thrift -gen js:node  file.thrift   
{code}

Note the difference between {{js:node}} and  {{js:nodejs}}. 

If in doubt, try this:

{code}
thrift --help
{code}




was (Author: jensg):
Maybe your critical bug all of a sufdden occures because the command is supposed to be

{code}
thrift -gen js:node  file.thrift   
{code}

Note the difference between {{js:node}} and  {{js:nodejs}}. 

If in doubt, try this:

{code}
thrift --help
{code}



> Thrift doesn't generate the gen-nodejs folder but the gen-js one with thrift --gen js:nodejs interface.thrift
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-3603
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3603
>             Project: Thrift
>          Issue Type: Bug
>          Components: Node.js - Compiler
>    Affects Versions: 0.9.3
>         Environment: uname -a: Linux proton 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> Ubuntu 15.04
>            Reporter: Thomas Milotti
>            Priority: Critical
>
> When we want to generate the nodejs directory with the following command: thrift --gen js:nodejs interface.thrift, it is the "gen-js" folder that is generated instead of the "gen-nodejs" one.
> Until today everything was working like a charm. I don't understand why there is a different behavior now.
> I didn't update thrift or my laptop.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)