Comments (8)
Hi, this is a common error while using the newest yeoman generator for dot net core angular SPA, you can find some solutions in this thread:
https://www.udemy.com/aspnet-core-angular/learn/v4/questions/2334464
check my answer I hope it helps :)
from vega.
same here....
from vega.
Thanks gabra666 for your response will you please elaborate the answer here i don't have access to this course i am just searching for solution and paste my issue here kindly help me out
from vega.
Hi the problem you hare having is because the Angular CLI expects to find a file that follows this convention X.module.ts - but you have 3 modules there, and neither of these follow that convention (app.module.client.ts, app.module.server.ts and app.module.shared.ts) I think this was a decision to separate angular client and server dependencies.
The solution I found is just 3 steps
- rename app.module.client.ts to app.client.module.ts
- open this file and replace the declarations : sharedConfig.declarations with declarations :
[...sharedConfig.declarations] - Modify the reference to this file in boot-client.ts - import { AppModule} from './app/app.client.module';
Let me know if this works.
from vega.
gabra666 bro this directory path'./app/app.client.module'; is not working giving error.
from vega.
gabra666 bro! its still giving the same error
from vega.
Thanks a lot bro its working fine i misspelled little
from vega.
gabra666 bro if you don't mind can you send me your email or any other source so i can take your help if i need because i new to learn this technology i shall be very thankful to you.
from vega.
Related Issues (13)
- show error HOT 1
- progressService dosent work angular 5
- Can not upload image with null Reference exception
- queryResult not valid object to return in ApiController [On Hold]
- Unable to get findings with Vega
- Can't run the project.
- Nothing works HOT 1
- got error for copy to stream HOT 1
- Tabpage does not work when using angular 4 instead of angular 2
- Ambiguity Errors HOT 1
- Will this code be updated? HOT 1
- can you please upgrade it to asp.net core 2.0 and angular 5? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vega.