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

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

Open
marxxxx opened this issue Jan 30, 2017 · 0 comments
Open

Comments

@marxxxx
Copy link

marxxxx commented Jan 30, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant