Skip to main content
1 vote
0 answers
65 views

Angular project migration 5 to 6 - Cannot find module '@angular/compiler-cli/src/tooling

I'm migrating my angular project from version 5 to 6 following the steps mentioned here angular migration steps. I did all steps but when i run the command ng serve, i got the error Cannot find module ...
Walidovic's user avatar
0 votes
1 answer
3k views

Schematic input does not validate against the Schema

I'm having this error when I try to create a new component anywhere inside the project: PS C:\Users\Name\Documents\Project\project-app\src\app\modals> ng g c especificacaoTecnicaModal Schematic ...
World Seg's user avatar
1 vote
1 answer
2k views

Angular upgrade from 5 to 6 - Angular.json not created

I'm following the official guide to upgrade angular app to version 10 , currently while try to upgrade to CLI version 6 as per the update.angular.io Make sure you are using Node 8 or later Update your ...
HARI PRASAD's user avatar
0 votes
3 answers
3k views

Got error while installing npm install -g @angular/Cli

D:\CDAC Project\Nodejs>npm install -g @angular/cli npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-...
Akash Tawade's user avatar
0 votes
1 answer
445 views

How to use the 3rd party script file in ts component file?

This is the link for the 3rd party script file jsfiddle example link, but in that external file is the 3rd party js script file it having the all functions are self-invoked functions. How can I ...
Kishore Kumar Burra's user avatar
0 votes
2 answers
2k views

Web Workers in Angular

I'm trying to figure out why when I run npx ng generate web-worker app, I'm getting this error: Schematic "web-worker" not found in collection "@schematics/angular". my angular cli is: 6.2.7 angular-...
theman0123's user avatar
0 votes
1 answer
204 views

Angular minification with css and URL background image only in prod mode

Have an image background with a gradient in css using Angular 6 with the CLI template. In dev mode it works fine, but when I do the prod version (ng build "--prod") the css is getting converted to an ...
Nick Novotny's user avatar
0 votes
0 answers
434 views

Angular cli - import html as a module with a prefix. Webpack loader not working

I am using angular 6 and angular cli 1.7 with exported webpack, the requirement is to use amd module and import html on to the component. import * as html from 'text!./app.component.html'; @Component(...
Mathew's user avatar
  • 59
0 votes
2 answers
2k views

ng generate application to a specific folder (without projects folder)

I have a folder "dashboards". Inside that i'm trying to create applications using "ng g application promotions". But it creates inside projects/promotions. I also tried using "--flat". But it still ...
sharath subramanya's user avatar
1 vote
1 answer
1k views

Cant upgrade Angular from 6 to 7

When i fire ng update it shows two entries for @angular/core. and when i fire ng update @angular/core it goes to 8 form 6 Collecting installed dependencies... Found 99 dependencies. Two or more ...
Swapnil Pardeshi's user avatar
1 vote
0 answers
245 views

need to pass index of form Array and value of same from in custom validation to validate slab amount reactive form

I'm validation slab amount so i have using FormArray but while creating custom validation i am unable to pass FormGroup index of that form control export function maximumAmountValidation(formArray: ...
prabin shrestha's user avatar
1 vote
0 answers
38 views

Angular2+ Bundling of all the component css/scss into one single file

As of today in my Angular 6 project the page it includes a lot of component stylings and other styling as well. How to Reduce styling to only one css file. And please do let me know the Pros and ...
Naveen Ramakrishna's user avatar
0 votes
1 answer
937 views

Uncaught TypeError: Cannot read property 'tb' of undefined

While am running the Application, I got the error in the declaration of constants.ts(assigning the json file data to the constant variables.) file. I declared some data in json file like object.json. ...
Kishore Kumar Burra's user avatar
-1 votes
3 answers
4k views

Method to search JSON for a partial value match and apply a property

Hi I need to search a JSON response for all values of the key "columnName" that begin (only begin) with a specific string pattern of... "IDM_" For all matches I want to include a key/value "IDM":true ...
Jono's user avatar
  • 143
0 votes
2 answers
72 views

How to tidy my returning data into a better model

I have API data that isn't optimized in its structure I cannot request backend devs restructure it, so I'm looking to tidy the model locally before use in my Angular 2 application. As an example I ...
Jono's user avatar
  • 143

15 30 50 per page
1
2 3 4 5
18