-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The 1.1.1 version break production builds #153
Comments
Hello, I am facing the same issue. I am on Angular 5.0.0 |
This is pretty urgent |
Ran into the same issue during a production deployment. Downgrading to 1.1.0 fixed my issue. I'm on Angular 7.2.
|
Im on Angular 8.0. Im having the same error aswell when deploying to production. |
still run the same error when downgrade to 1.1.0 |
Hi, Sorry for the issue, I'll try to fix it as soon as possible.
Yep, but that's an internal (dev) dependency only of this package, we release the package only with the peerDependencies pointing the Angular. The issue was probably caused by upgrading the |
Did you use the `"1.1.0" to point the exact version and not the "^1.1.0"? |
Ok, I've found out that the |
Fix: Downgraded the `ng-packagr` package to fix the `ng build --prod` (#153).
I've just released the https://github.com/ckeditor/ckeditor5-angular/releases/tag/v1.1.2 version that should fix this problem. |
It's closed by 55788f5. Please, update your |
Hello,
The latest release this morning broke the prod builds in Angular. We are on Angular 7.2.15 and kept running into the following error:
ERROR in ./node_modules/@ckeditor/ckeditor5-angular/fesm5/ckeditor-ckeditor5-angular.js
Module build failed (from ./node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js):
TypeError: Cannot read property 'kind' of undefined
at isAngularDecoratorMetadataExpression (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\src\transforms\scrub-file.js:265:35)
at checkNodeForDecorators (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\src\transforms\scrub-file.js:77:21)
at visitNodes (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\node_modules\typescript\lib\typescript.js:16144:30)
at Object.forEachChild (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\node_modules\typescript\lib\typescript.js:16370:24)
at checkNodeForDecorators (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\src\transforms\scrub-file.js:68:31)
at visitNode (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\node_modules\typescript\lib\typescript.js:16135:24)
at Object.forEachChild (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\node_modules\typescript\lib\typescript.js:16265:21)
at checkNodeForDecorators (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\src\transforms\scrub-file.js:68:31)
at visitNode (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\node_modules\typescript\lib\typescript.js:16135:24)
at Object.forEachChild (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\node_modules\typescript\lib\typescript.js:16322:24)
at checkNodeForDecorators (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\src\transforms\scrub-file.js:68:31)
at visitNode (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\node_modules\typescript\lib\typescript.js:16135:24)
at Object.forEachChild (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\node_modules\typescript\lib\typescript.js:16333:24)
at checkNodeForDecorators (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\src\transforms\scrub-file.js:68:31)
at visitNode (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\node_modules\typescript\lib\typescript.js:16135:24)
at Object.forEachChild (C:\angular\angular-apps\standards-works\branches\v1_0_DEV\node_modules@angular-devkit\build-optimizer\node_modules\typescript\lib\typescript.js:16229:21)
The text was updated successfully, but these errors were encountered: