Trying to import my module
import { waitProp } from 'wait-prop';
Encountering the following error:
ERROR in ./src/app/qr-scanner/qr-scanner.component.ts
Module not found: Error: Recursion in resolving
Stack:
resolve: (/Users/gkucmierz/workspace/web-tools/src/app/qr-scanner) wait-prop
newResolve: (/Users/gkucmierz/workspace/web-tools/src/app/qr-scanner) wait-prop
parsedResolve: (/Users/gkucmierz/workspace/web-tools/src/app/qr-scanner) wait-prop module
describedResolve: (/Users/gkucmierz/workspace/web-tools/src/app/qr-scanner) wait-prop module
rawModule: (/Users/gkucmierz/workspace/web-tools/src/app/qr-scanner) wait-prop
module: (/Users/gkucmierz/workspace/web-tools/src/app/qr-scanner) wait-prop
resolve: (/Users/gkucmierz/workspace/web-tools/node_modules) ./wait-prop
newResolve: (/Users/gkucmierz/workspace/web-tools/node_modules) ./wait-prop
parsedResolve: (/Users/gkucmierz/workspace/web-tools/node_modules) ./wait-prop
describedResolve: (/Users/gkucmierz/workspace/web-tools/node_modules) ./wait-prop
relative: (/Users/gkucmierz/workspace/web-tools/node_modules/wait-prop)
describedRelative: (/Users/gkucmierz/workspace/web-tools/node_modules/wait-prop)
rawFile: (/Users/gkucmierz/workspace/web-tools/node_modules/wait-prop)
file: (/Users/gkucmierz/workspace/web-tools/node_modules/wait-prop)
relative: (/Users/gkucmierz/workspace/wait-prop)
describedRelative: (/Users/gkucmierz/workspace/wait-prop)
Angular version:
ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 10.0.0
Node: 14.4.0
OS: darwin x64
Angular: 10.0.1
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.1000.0
@angular-devkit/build-angular 0.1000.0
@angular-devkit/build-optimizer 0.1000.0
@angular-devkit/build-webpack 0.1000.0
@angular-devkit/core 10.0.0
@angular-devkit/schematics 10.0.0
@angular/cdk 10.0.0
@angular/cli 10.0.0
@angular/material 10.0.0
@ngtools/webpack 10.0.0
@schematics/angular 10.0.0
@schematics/update 0.1000.0
rxjs 6.5.5
typescript 3.9.5
webpack 4.43.0
Any thoughts on what might be causing this issue?
I'm still unsure about the content of this message, I hope it doesn't appear too code-heavy. I've included various details about my environment versions.