Page 1 of 1

Angular @Next (9 ivy) Module Imports break compilation on pipes

Posted: 02 Nov 2019, 23:31
by NeoFuture
Having installed PrimeNG on my test 9 project on compilation I get the following when importing TextInputModule

is there beta access for angular 9 ?

Code: Select all

/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/transform/src/compilation.js:363
                    finally { if (e_6) throw e_6.error; }
                                       ^

Error: Missing pipe: json
    at Context.getPipeByName (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js:650:23)
    at TcbExpressionTranslator.resolve (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js:1114:37)
    at AstTranslator.maybeResolve (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js:1078:84)
    at AstTranslator.translate (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/expression.js:69:33)
    at /Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/expression.js:117:124
    at Array.reduce (<anonymous>)
    at AstTranslator.visitInterpolation (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/expression.js:117:36)
    at Interpolation.visit (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler/bundles/compiler.umd.js:6481:28)
    at AstTranslator.translate (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/expression.js:73:24)
    at Object.astToTypescript (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/expression.js:49:27)


Re: Angular @Next (9 ivy) Module Imports break compilation on pipes

Posted: 04 Nov 2019, 10:47
by yigitfindikli
NeoFuture wrote:
02 Nov 2019, 23:31
Having installed PrimeNG on my test 9 project on compilation I get the following when importing TextInputModule

is there beta access for angular 9 ?

Code: Select all

/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/transform/src/compilation.js:363
                    finally { if (e_6) throw e_6.error; }
                                       ^

Error: Missing pipe: json
    at Context.getPipeByName (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js:650:23)
    at TcbExpressionTranslator.resolve (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js:1114:37)
    at AstTranslator.maybeResolve (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js:1078:84)
    at AstTranslator.translate (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/expression.js:69:33)
    at /Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/expression.js:117:124
    at Array.reduce (<anonymous>)
    at AstTranslator.visitInterpolation (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/expression.js:117:36)
    at Interpolation.visit (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler/bundles/compiler.umd.js:6481:28)
    at AstTranslator.translate (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/expression.js:73:24)
    at Object.astToTypescript (/Users/carlfearby/Dropbox/Angular Projects/Framework/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/expression.js:49:27)

Hi,
There is no beta access for angular 9. PrimeNG 9 will available with stable Angular 9.
Best Regards.

Re: Angular @Next (9 ivy) Module Imports break compilation on pipes

Posted: 04 Nov 2019, 12:19
by NeoFuture
OK ill have to wait, im building our solution with Ivy and 9 release candidate, so i can move our whole solution over to 9, do you have a time table for release of PrimeNG 9 ?