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

Module not found #15

Open
robeverett opened this issue Nov 11, 2018 · 1 comment
Open

Module not found #15

robeverett opened this issue Nov 11, 2018 · 1 comment

Comments

@robeverett
Copy link

robeverett commented Nov 11, 2018

I'm trying to use Material instead of Bootstrap in an Angular project template project inside an asp.net core 2.1 solution in VS 2017.
I'm using Angular 7, but the ClientApp won't let me remove Bootstrap, since I read Bootstrap and Angular material are mutually exclusive.

The problem is when I run ng serve on the command line as instructed incorrectly here:
https://docs.microsoft.com/en-us/aspnet/core/client-side/spa/angular?view=aspnetcore-2.1&tabs=visual-studio
npm start doesn't work.

Everything worked fine until I tried to remove Bootstrap. But I want to use Angular Material instead !!

This has also wasted me an entire day, since, I decided to start afresh with a new project, yet for some strange reason the ClientApp angular project in the .net core solution insists on using Angular 5.2.0, instead of the latest. So now I've got to go through the process of updating all the package.json stuff. :(

@robeverett
Copy link
Author

No worries, I found an article, saying just delete the ClientApp folder, update the CLI, then re-add ClientApp to the .net core project.
Still only gives version 7.0.0 of angular and not the latest, but better than nothing!

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