I am trying to add Malay language in ASPNetZero framework, but framework gives an error that says cannot find module ./ms.js.
Following are the steps I have followed so far:
For detail error see below:
core.js:14597 ERROR Error: Uncaught (in promise): Error: Cannot find module './ms.js' Error: Cannot find module './ms.js' at .*.js$ namespace object:179 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:388) at Object.onInvoke (core.js:16156) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:387) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.run (zone.js:138) at zone.js:872 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421) at Object.onInvokeTask (core.js:16147) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188) at resolvePromise (zone.js:814) at resolvePromise (zone.js:771) at zone.js:873 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421) at Object.onInvokeTask (core.js:16147) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188) at drainMicroTaskQueue (zone.js:595) defaultErrorLogger @ core.js:14597 push../node_modules/@angular/core/fesm5/core.js.ErrorHandler.handleError @ core.js:14645 next @ core.js:16628 schedulerFn @ core.js:12609 push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub @ Subscriber.js:196 push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next @ Subscriber.js:134 push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next @ Subscriber.js:77 push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:54 push../node_modules/rxjs/_esm5/internal/Subject.js.Subject.next @ Subject.js:47 push../node_modules/@angular/core/fesm5/core.js.EventEmitter.emit @ core.js:12593 (anonymous) @ core.js:16178 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:388 push../node_modules/zone.js/dist/zone.js.Zone.run @ zone.js:138 push../node_modules/@angular/core/fesm5/core.js.NgZone.runOutsideAngular @ core.js:16115 onHandleError @ core.js:16178 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.handleError @ zone.js:392 push../node_modules/zone.js/dist/zone.js.Zone.runGuarded @ zone.js:154 _loop_1 @ zone.js:677 api.microtaskDrainDone @ zone.js:686 drainMicroTaskQueue @ zone.js:602 Promise.then (async) scheduleMicroTask @ zone.js:578 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:410 onScheduleTask @ zone.js:297 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:401 push../node_modules/zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:232 push../node_modules/zone.js/dist/zone.js.Zone.scheduleMicroTask @ zone.js:252 scheduleResolveOrReject @ zone.js:862 resolvePromise @ zone.js:808 (anonymous) @ zone.js:724 webpackJsonpCallback @ bootstrap:25 (anonymous) @ 892.js:1
Any help in this regard would be appreciated. Thanks
with the bundles i mean, all the js files as filename.bundle.js. because when i searched about this issue i saw others are getting files like vendor.bundle.js.
why i am not getting files like those. i get hashcode instead with the filename. is it same thing ?? please explain. and also my vendor.js size is large how to optimize it ?
we are using asp.net zero 6.2.0 template with angular 6.
for production use, whenever we build the application with ng build –prod command, bundle files don’t get generated for any of the .js files. Because of that we are getting bigger file size for vendor.js which is around 6 MB. Results in more application load time. We want to reduce it. and make it faster.
After ng build –prod I am getting following result,
I want less file size specially for vendor.js and main.js. also there is no bundle files like, vendor.bundle.js and same for others.
Questions:-
Does the latest (6.5.2) version of asp.et zero support Azure SQL elastic DB ? Both for single DB and also for DB per tenant ? And does it support sharding ?
I am using ASP.NET zero version v6.1.0 & Angular (Single Solution) + .NET CORE 2.1
Looking forward to an urgent reply please. Thanks.
While releasing or publishing the package , the contents from Dist folder do not get autimatically copied to wwwroot folder. This happens for every template of asp.net zero and we need to manually copy the contents , so that the web application runs properly.
Is there a solution to automate this ? Urgent response would be highly appreciated.
I am trying to implement IdentityServer4 in ASPNETZERO TEMPLATE 5.6.2. but while trying to implement we realize that there is no authentication method for identity server which is needed to authenticate external application.
What we are trying to do is, we have one(ASPNETZERO) server web app which will authenticate and authorize other apps. We are taking reference from identity server site also, but its not working.
Is there any Identityserver4 authentication provided through in WEBHOST (angular) project?
If yes, please tell us necessary steps for how to implement Identityserver4 in HOST project.
We are trying to use PUBLIC WEBSITE PROJECT but its not working. Any pointers in this direction would be helpful.
I am using aspnet core and angular template . I cleaned the solution and deleted bin & obj folders. After running the project, I am able to see swagger and client is also compiled, but after hitting <a class="postlink" href="http://localhost:4200">http://localhost:4200</a>, page displays nothing (blank). Also not getting any error on console. The solution was working fine before cleaning.
Can you please advise how i should troubleshoot this ?
No we have not yet installed .Net Core 2.0 SDK. VS2017 VERSION 15n.1(26403.7) NUGET Package Manager version 4.1.0
is .net core a dependency ?
Today morning we downloaded the latest template of aspnetzero with ASPNET Core and Angular (with merged AngularUI into host). But we are getting this error for about 400 different packages in the solution .
Package Abp 3.1.2 is not compatible with net461 (.NETFramework,Version=v4.6.1).
Error "Severity Code Description Project File Line Suppression State Error Package Abp 3.1.2 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Abp 3.1.2 supports: netstandard2.0 (.NETStandard,Version=v2.0)". This has happened on two machines.
Node/NPM and Yarn are properly installed and so is TypeScript.
Do not have any idea how to resolve this. Nuget restore, anular CLI,yarn installation etc. is already done. PLEASE RESPOND URGENTLY.
LOOKING FORWARD TO YOUR RESPONSE .......