8 Answer(s)
-
0
Had the same issue as you, its mainly because of the angular-cli latest beta is still having issues.
The current build from ABP is confirmed to work with angular-cli 1.0.0-beta.17
If you wish to make it work, can do this:
npm install -g rimraf rimraf node_modules
Open up the project.json in the root of the angular abp app, and change
"angular-cli": "^1.0.0-beta.17",
to
"angular-cli": "1.0.0-beta.17",
then run
npm i npm start
This will force the usage of angular-cli to be the version that works with abp, probably better until it comes out of BETA.
-
0
Hi mysterio21troy,
Thanks a lot.That was the issue.My cli version was ^1.0.0-beta.24 .Still it's having issues :( I have changed as you mentioned and now it is working fine :)
I would like to ask few questions from you :
Can you tell me about your development environment with latest abp ? Are you using 2 instances of VS 2015 or what ? Using 2 instances of VS has been killed the performance of my machine :(
How you're publishing the app ? We can publish core project to azure.But what about client thing ? Unable to find out the information about these things on the latest abp doc yet.Please provide us your real experience with this.Thanks.
-
0
Hi,
For the first problem you can check this issue <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-angular/issues/12">https://github.com/aspnetzero/aspnet-ze ... /issues/12</a>. We also updated the template, if you download a new project fron aspnetzero.com, it will not have this problem.
In order to deploy angular2 client, first you need to build it with angular-cli, see <a class="postlink" href="https://github.com/angular/angular-cli#creating-a-build">https://github.com/angular/angular-cli#creating-a-build</a>. Then you will have files in dist folder. You can deploy those files to your server.
-
0
Hi ismcagdas,
I don't have permission on Git Repo. Can you please allow me ?
-
0
You are invited as Sampath-Lokuge, can you try again ?
-
0
Hi ismcagdas,
Thanks a lot.Now I can access it :)
-
0
Hi @sampath,
We completed the document for merging AspNet Core & Angular 2.x solutions. You can take a look at it here <a class="postlink" href="https://aspnetzero.com/Documents/Merge-Angular-Client-Server">https://aspnetzero.com/Documents/Merge- ... ent-Server</a>.
We will appreciate your feedback :)
-
0
Hi ismcagdas,
Awesome ! Thanks a lot.I'll try that and will let you know :)