Base solution for your next web application
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?

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

1 Answer(s)
  • User Avatar
    0
    TimMackey created

    Found the answer in 10634.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)