A definitive guide to API-breaking changes in .NET

I would like to gather as much information as possible regarding API versioning in .NET/CLR, and specifically how API changes do or do not break client applications. First, let's define some...

How to extract error detail from traceback by using python regex?

I want to extract error detail from traceback, those tracebacks are extract from log file by using this method, and there are many different kinds of tracebacks, like below: Traceback (most recent...

Angular No module factory available for dependency type: ContextElementDependency

Running ng build on my Angular 4 project give this error : 14% building modules 40/46 modules 6 active ...es\@angular\http\@angular\http.es5.js An error occured during the build: Error: No...

error TS2307: Cannot find module '@ng-bootstrap/ng-bootstrap'

I added NGBootstrap in angular 5 project. But after sometime it's not working and I am getting below error. Tried to resolve issue by upgrading CLI version but still issue is not resolve. Please...

Modules not found when using express

I want to expose REST service in electron app and I want to use expressJS with electron, as tutorial states I added express and @types/express. I tried to expose a "get " but when I build and run...

Angular CLI custom webpack config

In previous versions of Angular there was an option for eject so that you could modify your webpack configuration as you please. One of the most common use cases for this feature was adding custom...

Error while running nestjs in production mode, cannot find module

I have implemented a generic class as below which might be causing the problem, import { Logger } from '@nestjs/common'; import { PaginationOptionsInterface, Pagination } from...

Angular CLI create component throw error; Could not find an NgModule

I am working on Angular 6 application and trying to use CLI to create new component using 'ng g c myComponent' but getting error My all components are under module folder of app / (root level...

See all resources in a subnet / See if subnet is in use

I am trying to clean up my AWS configuration and I want to know if particular subnets are actually used/have any resources in them. I'm aware you can filter a list of a particular resource type...

Install from pipfile using pipenv install gives error

I have a project where I'm trying to install from the pipfile using pipenv install. I get som error when installing. Before i describe the error, this is what I did: Reinstall pipenv Reinstall...

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...

Ng serve throwing @angular/core/core has no exported member 'eeFactoryDef'

Im getting like 50 errors that all say that angular/core/core has no exported member 'eeFactoryDef'. They come from different node_modules, for example angular/cdk, ng-bootstrap, ngx-pipes,...

error NG6002: Appears in the NgModule.imports of <module>, but could not be resolved to an NgModule class

I just updated from Angular 8.2 to 9. Everything works well if I disable ivy, but when it's enabled I'm getting a lot of errors that seems to be kind of obscure, at least I can't find any results...

Angular serve fails because of Unexpected character '#' which is not in my source code

When I try to build by angular app I get this error : ERROR in ./node_modules/blocking-proxy/built/lib/bin.js 1:0 Module parse failed: Unexpected character '#' (1:0) You may need an appropriate...

Ionic - HTTP POST Request not working in iOS, but working in Android and Web

I am trying send a push notification via post request in Ionic using HttpClient. It's working in Android and Web, but in iOS show this...

Why can't find package required on the "npm" registry

I have problems running my web app using this tutorial video React Native Web Full App Tutorial - Build a Workout App for iOS, Android, and Web in react-native. I've been searching a lot for an...

How to load Global scss files in storybook for angular app?

I am trying to load a custom global style file, theme-default.scss in storybook. Although my components are loading in storybook but styles are not being applied.I followed this tutorial...

Failed to connect ElastiCache from NodeJS server on Elastic Beanstalk

We have a nodeJS server with express on AWS Elastic Beanstalk and we are trying to connect it with the Elasticache(Redis clustered) from the NodeJS but getting this error Redis Client Connection...

The dreaded Java SpringBoot app not connecting to MySQL with Docker-compose java.net.ConnectException: Connection refused

I have been struggling with the following issue - the dreaded Java SpringBoot app not connecting to MySQL with docker compose exceptions: com.mysql.cj.jdbc.exceptions.CommunicationsException:...

RepositoryNotFoundError: No repository for "User" was found. Looks like this entity is not registered in current "default" connection? Typeorm

I am having a fun issue trying to get TypeOrm to work in my nestjs project. I have the below code to configure my project, yes everything loads, and yes I am able to connect to my database. import...

Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65

I am new in react native development. I am using new MacBook Air (M1, 2020) with M1 chip. I have Installed the dependency below: Node = v14.15.3 Npm = 6.14.9 Homebrew = 2.7.0 react-native-cli:...

Cant' build Tailwind CSS

So I'm trying out Taiwlwind CSS for the first time and I'm following a tutorial. I'm sure I've followed the tutorial to the tee and we haven't even gotten anywhere and I can't seem to build, I...

pecl fails installing mongodb driver on Apple Silicon (M1)

I have php 7.4 installed on my macbook pro m1 % php -v PHP 7.4.15 (cli) (built: Feb 26 2021 09:28:23) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies ...

SassError: Can't find stylesheet to import. @use '[email protected]/material' as mat;

I created an Angular project using the CLI. I'm using SCSS, and I included Angular Material with a custom theme iirc. I added a couple dummy components, and the app still built fine. Then I needed...

New .Net MAUI App project throws 'The name 'InitializeComponent' does not exist in the current context' build errors

I've attempted to start playing with .Net MAUI and I've setup my development environment following the steps as described...

The requested contract was not found. Make sure the source code is available for compilation

I'm using '@openzeppelin/truffle-upgrades' plugin to create an upgradeable contract. First time doing this and going base off the websites article that they have on it....

Angular Migration Error for Version 13.0.3

I got the following issue while upgrading from Angular 12 to 13.0.3. Using package manager: 'npm' Collecting installed dependencies... Found 79 dependencies. Fetching dependency metadata from...

angular 13: Module not found: Error: Can't resolve 'rxjs/operators'

I have upgraded my angular to angular 13. when I run to build SSR it gives me following error. ERROR in ./node_modules/@angular/common/fesm2015/http.mjs 12:0-56 Module not found: Error: Can't...

Task :app:mergeDebugAssets FAILED when I try to run npx react-native run-android

I'm working on an android app on react-native using vscode and a physical android device and it keeps showing the error below while trying to build using npx react-native run-android. Task...

install angular library - unable to resolve dependency tree

Some time ago I've pulled my generic code from my angular application into libraries. Now it seems that I'm unable to install a library targetting @angular/[email protected] into a newly created...