Angular: Cannot Get /

I am trying to open, build and run someone else's Angular 4 project but I am not able to view the project when I run it my way. I don't see what is going wrong or what I should do now. I already...

What could cause an error related to npm not being able to find a file? No contents in my node_modules subfolder. Why is that?

I'm trying to run npm install in the angular project folder I got from ASP.NET Boilerplate and I'm getting an error that is "related to npm not being able to find a...

Node Sass does not yet support Windows 64-bit

I am running protractor UI automation project and try to run test with yarn test and received following build error Module build failed: Error: Node Sass does not yet support your current...

Could not find module "@angular-devkit/build-angular"

After updating to Angular 6.0.1, I get the following error on ng serve: Could not find module "@angular-devkit/build-angular" from "/home/Projects/myProjectName". Error: Could not find module...

Cannot find name 'TextDecoder' in TypeScript.2.7

I am creating an Angular 6 application (using TypeScript 2.7) and want to use the TextDecoder native function. When I run ng build --aot I receive the error: error TS2304: Cannot find name...

npm run build on multiple environments without mention specified environment

I am using angular project with multiple environment. Whenever doing build taking so long time for single environment. How can i reduce it. I have added my project configuration...

angular error: Cannot find module 'firebase/app'

I am trying to follow codelab of google here: https://codelabs.developers.google.com/codelabs/firebase-cloud-functions-angular/index.html?index=..%2F..index#5 when I try to build the project: ng...

Angular 7:@angular/core/core has no exported member 'OpaqueToken'

Getting this error message on the build of a brand new project just created from Angular: ERROR in node_modules/@ngrx/store/src/ng2.d.ts(1,10): error TS2305: Module '"../../../@angular/core/core"'...

AsyncTestZoneSpec is needed for the async - Angular

The application was built on Angular v4 and was gradually updated with every release up until now. Currently we're on Angular v7 and finally the CEO has agreed to write unit test while it wasn't...

Module not found: Error: Can't resolve 'fs' in

Oke, I upgraded Angular from 6 to 8. But I stil get errors. I found on internet a solution that for a lot of users helped. But in this case it doesn't helped me. So my package.json file looks like...

The Angular Compiler requires TypeScript >=3.4.0 and <3.5.0 but 3.5.3 was found instead

I'm getting the following error when I do npm run build: The Angular Compiler requires TypeScript >=3.4.0 and <3.5.0 but 3.5.3 was found instead. I've tried following things separately: npm...

Expected spy navigate to have been called with [ [ '/ProjectData/MasterSequence' ] ] but it was never called

I am writing Unit Test cases for a function in Angular7 template . It is a login component and the login function has router.navigate inside the http request, to route to the dashboard on correct...

How to get rid of the warning .ts file is part of the TypeScript compilation but it's unused

I Just updated angular to latest 9.0.0-next.4. I am not using routing but suddenly after updating I keep seeing this warning. How Do I remove this warning WARNING in...

CORS error with MSAL, Angular and ASP.NET Core

I'm trying to build an ASP.NET Core webapi + Angular website where users can login using Microsoft personal or work or school email. I followed the instructions described...

Why am I getting blank page when deploying Angular Spring war file to Apache Tomcat

I am trying to package an Angular app together with a Spring Boot app as a war file so that I can deploy it to my Apache Tomcat server. I have built the angular app and copied the files to my...

Angular 9 "Error: This constructor was not compatible with Dependency Injection."

This weird error, that I don't remember seeing pre-Ivy, has popped up in the setup of a new app created with the latest Angular 9 CLI. Looks like it could be a bug with Ivy? Any ideas on how to...

Angular 9: can't create a new project

Totally new to Angular I'm trying to create a new project (my first Angular project) but no success, I'm systematically getting this error: â ¸ Installing packages...npm WARN deprecated...

Cannot download node-sass HTTP error 404 Not found --- Node Gyp error

I am working on a project for an internship on Angular and after trying to install a few modules from NgPrime I m getting the following errors every time I run an npm install...

Ionic package build failed - ionic angular toolkit

Build error even after several tries of cleaning the system up from scratch. Question: What is the best procedure to detect the source problem and fix it. Build Command ionic cordova build android...

Angular 10.2 build: Localized bundle generation failed: Cannot read property 'value' of undefined

I have a project build on Angular 10.0.11. I updated the project to 10.2 with npm update, but this resulted in multiple Unable to fully load [...] for source-map flattening: Circular source file...

Why am I getting "no exported member" errors when attempting to upgrade Angular?

The issue I am trying to upgrade from Angular V9 to V11 and I'm struggling quite a lot with the the following errors Namespace node_module/@angular/core/core has no exported member...

Error: zone-testing.js is needed for the fakeAsync() test helper but could not be found. When running test on Angular webapp using serenityJS+Jasmine

I am trying to run component testing on Angular web app using serenityJS + Jasmine but encountered the error below. Any idea how I can resolve this issue? Message: Error: zone-testing.js is needed...

Adding @angular/fire to angular 12

I am trying to add @angular/fire to my Angular 12 project so I can deploy it on Firebase. I used the cli to add @angular/fire I run: ng add @angular/fire Here is the output I get: ℹ Using...

Angular 12 aws-sdk 2.910.0 Error: Module not found: Error: Can't resolve 'util' in '.\.\.\node_modules\aws-sdk\lib'

Prior to moving from Angular 11 to 12 the following error did not occur and the application was able to use the aws-sdk library to access my S3...

When i run `ng new`, npm has a dependency problem

i ran ng new in terminal. I ended up getting an npm error new folder run ng new in new folder set the name and accept defaults (and use SCSS) watch it create files and error at the end â ¸...

Angular 11 > 12 TypeError: Cannot read property 'match' of undefined

I have just upgraded my angular app from Angular 11 to 12 using the steps provided from https://update.angular.io/. I am able to compile and run. However, when I run npm test, I got the following...

Angular 6 to 12 Migration: Getting Multiple Warning: Css Minimizer Plugin: > Unexpected "$"

After migrating my angular 6 project to 12. I am getting multiple warning in terminal if in angular.json i set optimisation: false configuration then all issue get resolved but i don't want to...

Ionic 6. Google maps not being displayed after updating to cordova 10.0.0

As soon as updated cordova to version 10.0.0. My map view is just blank. No error is being thrown. I am sharing the Ionic info and dependency list below. I have tried creating a new API ke and...

After upgrading to Angular 12 getting Error: NGCC failed

I was working on Angular 8 project when the time came to upgrade it to Angular 12. Since I come exclusively from React environments, didn't think it would be this much of a hassle until I started....

This version of CLI is only compatible with Angular versions ^13.0.0, but Angular version 12.2.13 was found instead

My Ionic project was running fine a month ago. Today when I tried ionic serve or ionic build then I get the below error: My simple question is What CLI version is compatible with Angular version...