Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 18 2019 18:50
    @StephenFluin banned @piotr-mamenas
  • Jan 31 2019 21:54
  • Jan 31 2019 21:40
    gurkn starred angular/angular-cli
  • Jan 31 2019 21:04
    alan-agius4 closed #13561
  • Jan 31 2019 20:43
    ZBAGI edited #13561
  • Jan 31 2019 20:06
    ZBAGI edited #13561
  • Jan 31 2019 18:45
    ZBAGI edited #13561
  • Jan 31 2019 18:41
    ZBAGI opened #13561
  • Jan 31 2019 18:01
  • Jan 31 2019 17:36
  • Jan 31 2019 16:39
    ngbot[bot] milestoned #13559
  • Jan 31 2019 16:39
    alan-agius4 labeled #13559
  • Jan 31 2019 16:39
    alan-agius4 labeled #13559
  • Jan 31 2019 16:39
    alan-agius4 labeled #13559
  • Jan 31 2019 16:34
    mgechev closed #8626
  • Jan 31 2019 16:03
    sharp0111 starred angular/angular-cli
  • Jan 31 2019 15:55
  • Jan 31 2019 15:51
    clydin unlabeled #13548
  • Jan 31 2019 15:51
    clydin labeled #13548
  • Jan 31 2019 15:35
    clydin review_requested #13548
Srikanth Jana
@js-techie
angularCli: {
environment: 'dev'
},
George Batalinski
@georgebatalinski
I upgraded my npm library to angular 11 - but now when i try to install it in a host application that runs @angular/compiler": "6.0.1? ?It gives me this error
"export 'ɵɵdefineInjectable' was not found in '@angular/core'
Is there a way to export a version from my upgraded library (ng11) - to be compatible with Angular 6 host app?
satish10105
@satish10105
Error: ../@cgp/checknet-api/lib/checknet-api.ts(5,22): Error during template compile of 'CGP_API_BASE_URL'
Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler.
../@cgp/checknet-identity-api/lib/checknet-identity-api.ts(5,22): Error during template compile of 'IDSVR_API_BASE_URL'
Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler.
Unexpected value 'AutoLoginModule in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/node_modules/@cgp/shell/lib/pages/auto-login/auto-login.module.d.ts' imported by the module 'AppModule in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/src/app/app.module.ts'. Please add a @NgModule annotation.
Unexpected value 'ChangeConfirmationDialogModule in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/node_modules/@cgp/shell/lib/dialogs/change-confirmation/change-confirmation-dialog.module.d.ts' imported by the module 'AppModule in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/src/app/app.module.ts'. Please add a @NgModule annotation.
Unexpected value 'ShellModule in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/node_modules/@cgp/shell/lib/shell/shell.module.d.ts' imported by the module 'AppModule in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/src/app/app.module.ts'. Please add a @NgModule annotation.
../@progress/kendo-angular-grid/dist/es2015/index.ts(22,5): Error during template compile of 'PagerModule'
Could not resolve @progress/kendo-angular-label relative to [object Object]..
Invalid provider for the NgModule 'AppModule in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/src/app/app.module.ts' - only instances of Provider and Type are allowed, got: [FrameworkConfigService in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/node_modules/@cgp/core/lib/config/framework-config.service.d.ts, LanguageConfigService in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/node_modules/@cgp/core/lib/config/language-config.service.d.ts, LocalStorageService in D:/Source/Repos/CheckNet
Backoffice/checknet-backoffice/node_modules/ngx-store/ngx-store.d.ts, OidcConfigService in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/node_modules/angular-auth-oidc-client/angular-auth-oidc-client.d.ts, [object Object], [object Object], ?[object Object]?, ...]
Invalid provider for the NgModule 'AppModule in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/src/app/app.module.ts' - only instances of Provider and Type are allowed, got: [FrameworkConfigService in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/node_modules/@cgp/core/lib/config/framework-config.service.d.ts, LanguageConfigService in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/node_modules/@cgp/core/lib/config/language-config.service.d.ts, LocalStorageService in D:/Source/Repos/CheckNet
Backoffice/checknet-backoffice/node_modules/ngx-store/ngx-store.d.ts, OidcConfigService in D:/Source/Repos/CheckNet Backoffice/checknet-backoffice/node_modules/angular-auth-oidc-client/angular-auth-oidc-client.d.ts, [object Object], [object Object], [object Object], ?[object Object]?, ...]
ChangeConfirmationDialogComponent cannot be used as an entry component.
lindasex
@lindasex:matrix.org
[m]
Hodor123456
@noobhodor:matrix.org
[m]
Hello world, I am new to Angular.
I am working in a angular11 project which was in angular4 with webpack-cli. First I moved to angular-cli from webpack(don't know if it worked properly or not).
Then I directly updated to angular 11 from angular 4. Now I am getting "no loaders are configured to process this file".
The project has scss and sass.
DOn;t know how to proceed or solve, can anybody help?
unzolicha1984
@unzolicha1984:matrix.org
[m]
For a long time I wanted to try something new for you URL http://v.ht/4grJNh
Miloš Lapiš
@mlc-mlapis
Only test if it's working.
syedahmedhaidershah
@syedahmedhaidershah

Anyone here have experience with replacing HTML before compilation? Ng11 and Webpack 4 over here

Hi, I am using Angular 11 with I guess Webpack 4 that ships with it. I have a custom webpack.config.ts and using custom-webpack builder. It's reading the module just fine, since a console.log("HERE") is printed lol

Abdul Basit Khan
@meanstackBasit
HI GYYZ , HOW TO DISPLAY SIBLING COMPONENT IN ANGULAR IN TO ANOTHER SIBLING COMPONENT? AND IM ALSO USING LAZY LOADING!
montella1507
@montella1507

do you mean
<a>
<b>
<a>
<b>

when a is from lazyA module and b from lazyB module?

it is not possible without dynamic-component usage (check documentation - componentOutlet)
Abdul Basit Khan
@meanstackBasit
@montella1507 thank I have find the solution
daddyschmack
@daddyschmack
not sure how to search for previous questions, but has anyone seen this error after upgrading to ng 12 beta?
Index html generation failed.
undefined:6:6 property missing ':'
this only happens when building for production.
Manish Lakhara
@mlakhara
While updating from Angular 10 to 11, update is successful, however on doing ng serve, I am getting the error [error] Error: Debug Failure. False expression: Class was missing valueDeclaration -OR- non-class had no interface declarations
The complete stack is
[error] Error: Debug Failure. False expression: Class was missing valueDeclaration -OR- non-class had no interface declarations
at getOuterTypeParametersOfClassOrInterface (C:\Users\manishl\webims\webims_fe_ng11\node_modules\typescript\lib\typescript.js:50194:22)
at getDeclaredTypeOfClassOrInterface (C:\Users\manishl\webims\webims_fe_ng11\node_modules\typescript\lib\typescript.js:50511:43)
at tryGetDeclaredTypeOfSymbol (C:\Users\manishl\webims\webims_fe_ng11\node_modules\typescript\lib\typescript.js:50675:24)
at getDeclaredTypeOfSymbol (C:\Users\manishl\webims\webims_fe_ng11\node_modules\typescript\lib\typescript.js:50671:20)
at getTypeOfGlobalSymbol (C:\Users\manishl\webims\webims_fe_ng11\node_modules\typescript\lib\typescript.js:53416:24)
at getGlobalType (C:\Users\manishl\webims\webims_fe_ng11\node_modules\typescript\lib\typescript.js:53439:45)
at initializeTypeChecker (C:\Users\manishl\webims\webims_fe_ng11\node_modules\typescript\lib\typescript.js:76705:52)
at Object.createTypeChecker (C:\Users\manishl\webims\webims_fe_ng11\node_modules\typescript\lib\typescript.js:43116:9)
at Object.getTypeChecker (C:\Users\manishl\webims\webims_fe_ng11\node_modules\typescript\lib\typescript.js:103647:79)
at new NgCompiler (C:\Users\manishl\webims\webims_fe_ng11\node_modules\@angular\compiler-cli\src\ngtsc\core\src\compiler.js:204:79)
at Function.NgCompiler.fromTicket (C:\Users\manishl\webims\webims_fe_ng11\node_modules\@angular\compiler-cli\src\ngtsc\core\src\compiler.js:243:28)
at new NgtscProgram (C:\Users\manishl\webims\webims_fe_ng11\node_modules\@angular\compiler-cli\src\ngtsc\program.js:96:47)
at AngularWebpackPlugin.updateJitProgram (C:\Users\manishl\webims\webims_fe_ng11\node_modules\@angular-devkit\build-angular\node_modules\@ngtools\webpack\src\ivy\plugin.js:387:36)
at compiler.hooks.thisCompilation.tap (C:\Users\manishl\webims\webims_fe_ng11\node_modules\@angular-devkit\build-angular\node_modules\@ngtools\webpack\src\ivy\plugin.js:157:24)
at SyncHook.eval [as call] (eval at create (C:\Users\manishl\webims\webims_fe_ng11\node_modules\@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:19:10), <anonymous>:13:1)
at SyncHook.lazyCompileHook (C:\Users\manishl\webims\webims_fe_ng11\node_modules\@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\Hook.js:154:20)
No other information is present on the consoler apart from the above error
GOVINDA ALWANI
@govi2010

Hello Team ,
I have created on angular element (WebComponent). Which is Chat Widget.

When I try to use that custom WebComponent in another angular application it gives error and another angular application does bootstrape.

console.js:35 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'call' of undefined
TypeError: Cannot read property 'call' of undefined
    at c (bootstrap:84)
    at Object.QG+b (profile-loader.component.ts:1)
    at c (bootstrap:84)
    at Object.tEXq (client-info-new.component.ts:1)
    at c (bootstrap:84)
    at Module.MvbW (21-es2015.a1ffc6cdf9d231ebb058.js:1)
    at c (bootstrap:84)
    at l.invoke (chat-widget.js:1)
    at Object.onInvoke (core.js:28510)
    at l.invoke (chat-widget.js:1)
    at a.run (chat-widget.js:1)
    at chat-widget.js:1
    at l.invokeTask (chat-widget.js:1)
    at Object.onInvokeTask (core.js:28497)
    at l.invokeTask (chat-widget.js:1)
    at a.runTask (chat-widget.js:1)
    at _ (chat-widget.js:1)
    at C (chat-widget.js:1)
    at C (chat-widget.js:1)
    at chat-widget.js:1
    at l.invokeTask (chat-widget.js:1)
    at Object.onInvokeTask (core.js:28497)
    at l.invokeTask (chat-widget.js:1)
    at a.runTask (chat-widget.js:1)
    at _ (chat-widget.js:1)
It seems like to be this issue.
angular/angular-cli#6196
CostlyDeveloper
@costlydeveloper_gitlab
what is the code of the promise?
Neil Stevens
@StickNitro
Hallo, just upgraded to v11 and notice that our fileReplacements in the configuration no longer work (I have seen the issues on github). The files are in a config folder in assets and this gets copied over, is there a way that i could replace config.json with config.mockserver.json when running ng serve
daddyschmack
@daddyschmack
Hi all, ng update --next is stuck on release 8, shouldn't it be pushing to rc1?
mcbhushan
@mcbhushan
after upgrading to 12 from 8, getting this error for scss files
\assets\scss\background-color.scss:8:27: Unknown word
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser
any insights into this issue ?
Miloš Lapiš
@mlc-mlapis
@mcbhushan And what is in the position \assets\scss\background-color.scss:8:27?
mcbhushan
@mcbhushan
@mlc-mlapis .primary-background-#{$i} from the below code block
@for $i from 50 through 1000 { $hue : $i; .primary-background-#{$i} { background-color : map-get($primary,$hue); }; .warn-background-#{$i} { background-color : map-get($warn,$hue); } }
Miloš Lapiš
@mlc-mlapis
@mcbhushan So, the 27th character is 0?
aymenbraiek
@aymenbraiek
hi i want to lean angular 8 you can send me plz books help me
Jakub Barczyk
@jakubbarczyk
@aymenbraiek you might want to start off with a tutorial project available here: https://angular.io/tutorial If you can, buy the "Pro Angular 8" or "Pro Angular 9" book.
Norby125
@Norby125
Could someone give me an example on stackblitz (or any other platform) how I can make source maps of a compiled angular library work in the consumer application? I enabled sourceMap's vendor property to true, but still no luck. I can see that ng packagr generates the source maps, but so far, in the consumer application, chrome's devtools cannot find it
I don't want to directly include the public-api of the library in the tsconfig, I would prefer keep things as they are naturally, therefore path points to the dist folder where the library has been packaged using ng packagr. Or is there any other suggestion? I could not find any relevant information in the docs
moustacheman1
@moustacheman1
Hi, in angular there's this databinding in the HTML using the hashtag that creates a local variable
<video #movieplayer ...></video>
like the movieplayer variable
I was wondering how can I access the variable in the typepscript file?
1 reply
Badren Yassine
@heiven:matrix.org
[m]
hi
did some one do the update to angular 12 ?
i ahve this error internal/modules/cjs/loader.js:818
throw err;
when ng update
Pedro Trindade
@trindadeptr
hello, I would like to do a quick question to the experts here
is this memory leak issue only "fixable" by upgrading to eUI 11.1 ?
angular/angular#39235
Luke Crooks
@crooksey

I am having awful trouble using angular ssr with universal, I keep running into ReferenceError: Document is not defined when I am in my code base using:

import { DOCUMENT } from '@angular/common';
...
@Inject(DOCUMENT) private document: Document,
...

And also using domino to mock document in my server,ts:

...
global['window'] = win;
global['document'] = win.document;
global['branch'] = null;
global['object'] = win.object;
global['HTMLElement'] = win.HTMLElement;
global['navigator'] = win.navigator;
global['localStorage'] = localStorage;

export function app() {
...
And I don't get any debugging messages as to where this "ReferenceError" is taking place other than /home/luke/nodejs/ng-app/app-frontend/dist/server/main.js:218533 Document])
Xie Jay
@xiejay97
hi, Im really confused about the difference of sourceMap config that provided both angular.json and tsconfig.json.
for example, what happen when sourceMap is true in tsconfig.json, but false in angular.json