[
https://issues.apache.org/jira/browse/THRIFT-4602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16724231#comment-16724231
]
James E. King III commented on THRIFT-4602:
-------------------------------------------
Is this still Critical?
> ERROR in ./node_modules/thrift/lib/nodejs/lib/thrift/connection.js Module not
> found: Error: Can't resolve 'child_process'
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: THRIFT-4602
> URL: https://issues.apache.org/jira/browse/THRIFT-4602
> Project: Thrift
> Issue Type: Bug
> Components: Node.js - Compiler, Node.js - Library
> Affects Versions: 0.11.0
> Environment: run commands:
> npm install -g @angular/cli
> ng new test-thrift
> cd test-thrift
> npm install thrift
> edit file D:\Projects\thriftTest\test-thrift\src\app\app.component.ts, add:
> thrift = require('thrift');
> run command:
> ng serve
> OS: Windows 10
> nodejs version 10.7.0
> npm version 6.1.0
> Reporter: Rustem S
> Priority: Critical
>
> ERROR on compile and start Angular 5 application (ng serve):
> ERROR in ./node_modules/thrift/lib/nodejs/lib/thrift/connection.js
> Module not found: Error: Can't resolve 'child_process' in
> 'D:\Projects\thriftTest\test-thrift\node_modules\thrift\lib\nodejs\lib\thrift'
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)