Can't bind to 'ng-model' since it isn't a known native property

Trying to run a todo application from this blog: http://blog.lambda-it.ch/reactive-data-flow-in-angular-2/ Its code is here: https://github.com/wmaurer/todomvc-ng2-reactive I am integrating it...

Property 'catch' does not exist on type 'Observable<any>'

On the Angular 2 documentation page for using the Http service, there is an example. getHeroes (): Observable<Stuff[]> { return this.http.get(this.url) .map(this.extractData) ...

Karma Webpack sourcemaps not working

I'm using Karma-Webpack to run my Angular 2 specs. https://github.com/webpack/karma-webpack When I execute tests using karma in Chrome, the source files for my specs appear readable in the...

PrimeNG stylesheets not found

I'm having trouble with a new project I've just created. For some reason when trying to import the stylesheets of PrimeNG I'm getting a 404 error. I don't know if it's something to do with the...

How to get webpack and iis express to work together?

I have Angular 2 and Webpack 2 starter which run on node by webpack-dev-server, and I what to run it from visual studio with web-api. The problem is when angular2-webpack-starter run...

Angular 2 - Karma Error - Module Parse Failed 'You may need an appropriate loader to handle this file type'

I am setting up Karma for my angular 2 Application. I am getting an error for missing plugin.. can you help please. I am using https://github.com/AngularClass/angular2-webpack-starter for...

Error: Could not find source map for in Angular2, Karma, Webpack and Istanbul

I am trying to generate coverage report of TypeScript Files using karma-remap-istanbul plugin. My test cases are being executed successfully by karma, but when karma-remap-istanbul is trying to...

angular_1.default.module Uncaught TypeError: Cannot read property 'module' of undefined

I am creating a starter template using angular 1.6, webpack, gulp and typescript. I am able to compile and build my application but app is not bootstrapping. The issue is weird as when I am...

Angular Universal CSS imports not working

I'm just testing out how Angular Universal handles the imports of third party JavaScript and CSS libraries. For ease of use I tried with jQuery and Bootstrap. I'm using the Universal Starter repo...

Is there a way to use inline sass into Angular2 components?

I have an Angular 2 project based on a Webpack starter. I'm trying to figure out how to use SASS directly into components (without calling an external .scss file). Every examples I found use...

EXCEPTION: Runtime compiler is not loaded

Versions. @angular/[email protected] Repro steps. ng build -prod -e prod The log given by the failure. vendor.380a744….bundle.js:218 Error: Runtime compiler is not loaded at new Error...

Visual Studio 2017: js file causes many typescript errors

Please see the edit below I have used the following package as a base for my VS Project -> https://github.com/AngularClass/angular2-webpack-starter Everything worked nicely in Visual Studio code,...

Add jquery to angular 2 wepack project (Bootstrap's JavaScript requires jQuery)

I'm using the angular-cli .net core starter. Now I'm adding my own css + javascript and getting following error: An unhandled exception occurred while processing the request. Exception: Call to...

Angular4 core.es5.js Uncaught reflect-metadata shim is required when using class decorators

After upgrading my pre-existing project to Angular 4 and Angular/CLI 1.0 I'm getting this error: core.es5.js:354 Uncaught reflect-metadata shim is required when using class decorators I've...

Angular4 how to enable test coverage

I am working on an Angular4 project. I am trying to set up code coverage. I created a very simple and small app. I read every possible page I could find, but I am lost. How do I set up code...

Building chrome extension popup, options and background using @angular/cli

I would like to create a chrome extension with popup, options page and a background process. So basically an angular app with popup.html, options.html and background.html pages. Is this possible...

Angular 4 - webpack: wait until bundle finished: /

I am using Angular-Cli and I have updated all of my package.json using the ncu tool. Now when I do a npm start (webpack-dev-server --port 4200 --config config/webpack.dev.js --open --progress...

Angular 4: no component factory found,did you add it to @NgModule.entryComponents?

I'm using Angular 4 template with webpack and I have this error when I try to use a component (ConfirmComponent): No component factory found for ConfirmComponent. Did you add it...

Angular can't use HttpClient in external library

When I try to instantiate the HttpClient service in an external library, then consume that library in an Angular application, I'm getting StaticInjectorError errors: With Angular...

webpack error: File to import not found or unreadable: bourbon , how to fix?

I am trying to load the Bourbon package inside my SCSS files. I am using Angular 2 and this is my webpack 3.0 config: var path = require("path"); var webpack = require("webpack"); module.exports...

Update to Angular v6 - Module not found: Error: Can't resolve 'fs'

I'm trying to migrate my Angular Universal project from Angular v5 to v6 I've got a service where I use fs to load the translation on the server side. Everything works well with Angular v5. With...

Angular Workspace with two Angular + Nativescript Code sharing Project + Library

I have a structure like this: AngularWorkspace/ |--app/ | | -- |--dist/ | |-- |--node_modules/ | |-- |--projects/ | |--library/ | |--AngularNativescriptAppOne/ | | |--App_Resources | | ...

Can not install .ipa

since I updated the macos, the xcode, the nativescript version, I can't install any application on ios. When I create one from 0 I can install it but not open it, after the launch screen appears...

Nativescript - iOS build fails with error code 2

I have been trying to build the iOS version using Nativescript sidekick for two days now without luck. It used to build just fine in the past. Environment information Sidekick Version:...

I am getting WARNING in ./node_modules/@coreui/angular/fesm5/coreui-angular.js 493:33-51 "export 'ɵɵdefineInjectable' was not found in '@angular/core'

I am facing warning at ng serve command and for this warning, I can't see anything in the web page. We are using Core Ui Pro Admin Template. Full Warning message list: WARNING in...

Couldn't install npm because of a node-pre-gyp error

I am trying to run a downloaded ionic template in my PC using Visual Studio Code IDE, But i get the below error when i try to run npm install > [email protected] install...

Can't start an electron-angular app after an angular update

I'm trying to build an electron app using angular, TypeORM, SQLite and other component as webpack. I started my development from an example I found at GitHub:...

jhipster angular based application giving PKIX path building failure

I am trying to generate angular based application using jhipster but I am getting PKIX path building failed when I tried to run ./mvnw. Below I have attached my application generation steps and...

Create shared library and consume it locally (angular + typescript + webpack)

I am trying to create a shared library that will hoist all common components we can later use in other apps without having to duplicate them. We already have a working webpack ecosystem to build...

Webpack Module federation plugin for react in angular

I am using Webpack 5, I want to add the angular project component to the react project, but it does not work. My codes are as follows. this angular webpack code as follows const...