Skip to content
This repository was archived by the owner on Oct 9, 2021. It is now read-only.
This repository was archived by the owner on Oct 9, 2021. It is now read-only.

Module not found: Error: Cannot resolve module 'MyDatePicker/src/index' #2

@marxxxx

Description

@marxxxx

When using your component in an Angular 2 Project based on yo generator-aspnetcore-spa (https://www.npmjs.com/package/generator-aspnetcore-spa) i get the following errors:

ERROR in ./ClientApp/app/app.module.ts
(1,30): error TS2307: Cannot find module 'MyDatePicker/src/index'.
ERROR in ./ClientApp/app/app.module.ts
Module not found: Error: Cannot resolve module 'MyDatePicker/src/index' in xxx\ClientApp\app
@ ./ClientApp/app/app.module.ts 8:14-47

Disabling server-side rendering had no effect as well.

Is there anything i was missing?
Thank you for your help!

Kind regards
Markus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions