Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Duplicate luxon definitions #10942


User avatar
0
TimMackey created

ANZ version 10.0.0 (plus migrated app files) Angular/.NET 5

in .../angular/nswag 'refresh'

causes 'service-proxies.ts' to define duplicate imports of luxon, which causes a compile error.

import { DateTime } from 'luxon';
import { mergeMap as _observableMergeMap, catchError as _observableCatch } from 'rxjs/operators';
import { Observable, throwError as _observableThrow, of as _observableOf } from 'rxjs';
import { Injectable, Inject, Optional, InjectionToken } from '@angular/core';
import { HttpClient, HttpHeaders, HttpResponse, HttpResponseBase } from '@angular/common/http';

import { DateTime, Duration } from "luxon";

What might be the cause of this?


1 Answer(s)