Open Son-Lam opened 6 years ago
Hello,
Could you help with this compilation issue on Angular 6?
+Environment Information
OS [e.g. Mac, Arch, Windows 10]: OSX 10.13.4 Node Version [e.g. 8.2.1]: 10.1.0 NPM Version [e.g. 5.4.2]: 5.6.0 C++ Toolchain [e.g. Visual Studio, llvm, g++]: g++ no-kafka version [e.g. 3.2.10]: 3.2.10
+Steps to Reproduce I attached here a short Angular 6 project. Here is the instruction how to re-produce the issue: poc-no-kafka.zip
You will get this log in command line:
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ ** Date: 2018-05-23T15:55:41.129Z Hash: 129dc61f9a6432c0e8e4 Time: 3073ms chunk {main} main.js, main.js.map (main) 1.94 kB [initial] [rendered] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 687 bytes [initial] [rendered] chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered] chunk {styles} styles.js, styles.js.map (styles) 15.6 kB [initial] [rendered] chunk {vendor} vendor.js, vendor.js.map (vendor) 325 kB [initial] [rendered] ERROR in ../node_modules/no-kafka/types/client.d.ts(1,22): error TS2307: Cannot find module 'tls'. ../node_modules/no-kafka/types/kafka.d.ts(19,16): error TS2304: Cannot find name 'Buffer'. ../node_modules/no-kafka/types/producer.d.ts(1,22): error TS2307: Cannot find module 'tls'. ../node_modules/no-kafka/types/simple_consumer.d.ts(1,22): error TS2307: Cannot find module 'tls'. ℹ 「wdm」: Failed to compile.
Hello,
Could you help with this compilation issue on Angular 6?
+Environment Information
OS [e.g. Mac, Arch, Windows 10]: OSX 10.13.4 Node Version [e.g. 8.2.1]: 10.1.0 NPM Version [e.g. 5.4.2]: 5.6.0 C++ Toolchain [e.g. Visual Studio, llvm, g++]: g++ no-kafka version [e.g. 3.2.10]: 3.2.10
+Steps to Reproduce I attached here a short Angular 6 project. Here is the instruction how to re-produce the issue: poc-no-kafka.zip
You will get this log in command line: