Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extending modal.service #384

Open
asgarihope opened this issue Dec 12, 2023 · 0 comments
Open

Extending modal.service #384

asgarihope opened this issue Dec 12, 2023 · 0 comments

Comments

@asgarihope
Copy link

asgarihope commented Dec 12, 2023

Hi,
First, Thank you for the useful package ...

I need a service that has extended NgxSmartModalService so drop my code in the below:

export class MainModalService extends NgxSmartModalService {
    constructor(
        _appRef: ApplicationRef,
        _injector: Injector,
        _modalStack: NgxSmartModalStackService,
        applicationRef: ApplicationRef,
        @Inject(DOCUMENT) _document: any,
        @Inject(PLATFORM_ID) _platformId: any) {
        super(_appRef, _injector, _modalStack, applicationRef, _document, _platformId);
   } 

and this error occurred on the run timing of my application:

Application bundle generation complete. [7.287 seconds]
Watch mode enabled. Watching for file changes...
An unhandled exception occurred: Missing "./lib/services/ngx-smart-modal-stack.service" specifier in "ngx-smart-m
odal" package
See "C:\Users\{USER}\AppData\Local\Temp\ng-9uFxuI\angular-errors.log" for further details.

Would you happen to have any idea that would help me also make my Application happy?

@asgarihope asgarihope changed the title extending modal.service Extending modal.service Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant