alEX860111 / ngx-formly-material-file

2 stars 5 forks source link

not compatible with ivy #7

Open its-dibo opened 2 years ago

its-dibo commented 2 years ago

when installing ngx-formly-material-file and running ngcc I got an error:

Compiling @angular/material/select : es2015 as esm2015
(node:17881) UnhandledPromiseRejectionWarning: Error: Symbol CommonModule declared in node_modules/@angular/common/common.d.ts is not exported from @angular/common (import into browser/app/content/content.module.ts)
    at AbsoluteModuleStrategy.emit (/home/sh_eldeeb_2010/packages/compiler-cli/src/ngtsc/imports/src/emitter.ts:227:13)
    at ReferenceEmitter.emit (/home/sh_eldeeb_2010/packages/compiler-cli/src/ngtsc/imports/src/emitter.ts:122:32)
    at Object.toR3Reference (/home/sh_eldeeb_2010/packages/compiler-cli/src/ngtsc/annotations/src/util.ts:267:16)
    at NgModuleDecoratorHandler._toR3Reference (/home/sh_eldeeb_2010/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.ts:568:14)
    at /home/sh_eldeeb_2010/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.ts:291:48
    at Array.map (<anonymous>)
    at NgModuleDecoratorHandler.analyze (/home/sh_eldeeb_2010/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.ts:291:32)
    at TraitCompiler.analyzeTrait (/home/sh_eldeeb_2010/packages/compiler-cli/src/ngtsc/transform/src/compilation.ts:398:30)
    at analyze (/home/sh_eldeeb_2010/packages/compiler-cli/src/ngtsc/transform/src/compilation.ts:360:34)
    at _loop_1 (/home/sh_eldeeb_2010/packages/compiler-cli/src/ngtsc/transform/src/compilation.ts:380:9)
    at TraitCompiler.analyzeClass (/home/sh_eldeeb_2010/@eng-dibo/dibo/node_modules/@angular/compiler-cli/src/ngtsc/transform/src/compilation.js:399:35)
    at visit (/home/sh_eldeeb_2010/packages/compiler-cli/src/ngtsc/transform/src/compilation.ts:149:14)
    at visitNodes (/home/sh_eldeeb_2010/@eng-dibo/dibo/node_modules/typescript/lib/typescript.js:29004:30)
    at Object.forEachChild (/home/sh_eldeeb_2010/@eng-dibo/dibo/node_modules/typescript/lib/typescript.js:29243:24)
    at visit (/home/sh_eldeeb_2010/packages/compiler-cli/src/ngtsc/transform/src/compilation.ts:151:10)
    at TraitCompiler.analyze (/home/sh_eldeeb_2010/packages/compiler-cli/src/ngtsc/transform/src/compilation.ts:154:5)
(node:17881) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:17881) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

as a temporary work arround use npm i ngz-formly-material-file