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
symphony
@symphony2014
image.png
image.png
symphony
@symphony2014
I was just catch the error, thank @derekkite
image.png
image.png
DefeninMaxime
@DefeninMaxime
Hello, I have the following error when run node --max_old_space_size=5120 node_modules/@angular/cli/bin/ng xi18n --output-path ./src/i18n :
Metadata collected contains an error that will be reported at runtime: Lambda not supported.. Environment: angular 9 node 12.3.1
Any ideas ?
Kyle Cannon
@kylecannon
What version of node are you running?
node -v
DefeninMaxime
@DefeninMaxime
@kylecannon 12.3.1
Kyle Cannon
@kylecannon
When did this error guest start happening?
Error start happening *
DefeninMaxime
@DefeninMaxime
Few second after run the command
It's the first time I try this command since I have upgrade my application to angular 9
Kyle Cannon
@kylecannon
Have you ever had this error before the upgrade
DefeninMaxime
@DefeninMaxime
Never
Kyle Cannon
@kylecannon
ng-packagr/ng-packagr#696 I know you're not using this, but this is the issue. It's due to something not being supported anymore
DefeninMaxime
@DefeninMaxime
In my case, this piece of code give me the bug :
{ provide: NgForage, // @ts-ignore useFactory: (ngForageConfig: NgForageConfig) => new NgForage({}, new InstanceFactory(ngForageConfig)), deps: [ NgForageConfig, ] },
Switch this to an export function fix the problem. But Migration to angular 9 automatically transform my code with lambda. I cannot switch all my code to export function..
This is a no sense :/
Noah Rawlins
@ncrawlins
did the lint rules change with 3.8 typescript? it wants me to sort all kinds of of stuff and put public/private/protected on everything all of a sudden
pmulac
@pmulac
The installed Angular CLI version is older than the latest stable version.
Installing a temporary version to perform the update.
^ Is there a way to tell the CLI that I don't want it to download the latest version of itself every time I want to run ng update? My apps and libraries are on v8, and I'm not ready for v9. But every time I run ng-update, the CLI insists on downloading a temp version. Anyone know of workarounds for this?
brayn098
@brayn098
hey guys i wanna binding data between two div using ngfor any solution please
Wenchen Li
@neo
question: do we have plan fixing this where scheduleTarget doesn't really work in createBuilder which has been in the milestone of 9.0.*? angular/angular-cli#17021
Carlos Mantilla
@ceoaliongroo
How it's the proper way to use Reflect Metadata API with Angular 8? I'll try to get the annotation from a Component Decorator
Please help
nostar3
@nostar3

Looking for help. Trying to login on a website with code. Input email & submit the verification code. website written on js.
i was able to enter the email and enable the button but as there is error saying input a valid email or phone number.

when i manually add a space or latter and remove it the error go away.

Looking for help

Tom
@tomreinartz90

Hi all,

I am working on a process of changing our build pipeline from Gulp with a lot of custom code to the angular cli. Most of the changes have been made and seem to be working. But during the i18n process we used to inline the html templates to get rid of leading and trailing whitespace characters. Is there an option to get something like this done with the angular cli?

If that is not possible i would like to know if white space characters at the start / end of a string are used to generate the messageId? If it is not used i can safely remove it before we push the translations to our translation platform.

Brian Wilbur
@oblivion-hymns
Hey, quick question. When I generate my HTML file with ng build, everything works fine, but the <script> tags are prepended to the original HTML file. This means that my <!DOCTYPE> tag doesn't take in some browsers. I have googled this issue incessantly but I think my google-fu is not strong enough. Any simple solution for this other than running a post-script to manually fix the file myself?
Brian Wilbur
@oblivion-hymns
I saw a post that said you need the <app-root>, <head> and <body> tags present in your index.html -- I looked at my file a hundred times, but it turns out I was apparently missing a closing </body> tag for the past several years. Fixing this made ng build place the scripts in the correct location. Hopefully this helps someone.
amarendar12
@amarendar12
Hi Friends I'm new to gitter and looking for some help with chart options in my project.
We are using ng2 charts grouped bar chart in our project...and we need to show the bar values on top of the bar..I added animation to the chart options and the values appear on top of bar graphs ...however when I hover on the graph, the values disappear(and appears when I unhover).how can I fix it. Can someone please help me how I can show the values all the time..
nostar3
@nostar3

$('#email').val('user@email.com').trigger('change');
Trying to fill the input field with this line, The code working perfectly (Fill the from and active the button) on chrome & other browser console.

When running from exnantiosn this "node code.js" fill the from but did't active the button.

What i'm doing wrong?

moustacheman1
@moustacheman1
How would I re-initialize my utility function?
or how would make it run last
currently i'm doing setTimeout( () => { utilityFn = new UtlityFn(); }, 0);
nullptrerror
@nullptrerror
Anyone updated an Angular 5.2 project to 9.1.1?
I'm getting An unhandled exception occurred: Script file node_modules/systemjs/dist/system-production.js does not exist.
Derek
@derekkite
@nullptrerror what I would suggest doing is create a new project, ng upgrade to v9, then copy over all the configuration files. I don't think it will automatically update from that far back.
MehtaManan07
@MehtaManan07
Hello everyone. I am unable to install angular/cli. I can't interpret the error. I am installing it by the command "npm install @angular/cli". Please help
Rick Warren
@riwarren
I am injecting unsafe HTML into the DOM via [innerHTML] attribute, but my unsafe HTML has stuff that needs to get parsed by angular such as (click)="" handlers and [(ngModel)]="" handlers. How do I get angular to process the injected HTML?
Richard Sahrakorpi
@RGunning
From a security perspective you really shouldn't do that. You probably can't get it hooked up to Angular bindings at least not without JIT compiler and some hackery. You could possibly use some native HTML bindings, but I repeat don't do this. If you must, then parse the unsafe HTML and construct your own template from it rather than injecting it directly. This way you can at least have some control and can hook the bindings up.
Rick Warren
@riwarren
I figured it out by changing my templates logic so that the injected html happens within a sub element from which it was originally being injected, allowing for the insertion of the other html within the template directly.
thanks
justinschnee
@justinschnee
Hello, could anyone help me with router issues I am getting when trying to ng serve my project?
Derek
@derekkite
@justinschnee go ahead
justinschnee
@justinschnee
@derekkite ive tried deleting node modules and doing npm install again and it doesnt work, also tried deleting package-lock.json and same error
Derek
@derekkite
@justinschnee are all the versions of the angular components the same? Are you using a third party package that has some router functionality?
justinschnee
@justinschnee
@derekkite im pretty sure there all the same