Hello Support Team,
Find the Angular code from here : removed for security concerns by alper
After Download code I performed below step to configure the angular app.
Unhandled Promise rejection: Cannot read property 'toLowerCase' of undefined ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Cannot read property 'toLowerCase' of undefined
at setLocaleId (core.js:23653)
at core.js:27262
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:391)
at Object.onInvoke (core.js:26763)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:390)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.run (zone.js:150)
at NgZone.push../node_modules/@angular/core/fesm5/core.js.NgZone.run (core.js:26677)
at PlatformRef.push../node_modules/@angular/core/fesm5/core.js.PlatformRef.bootstrapModuleFactory (core.js:27253)
at core.js:27296
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:391) TypeError: Cannot read property 'toLowerCase' of undefined
at setLocaleId (http://localhost:4200/vendor.js:70988:26)
at http://localhost:4200/vendor.js:74597:13
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (http://localhost:4200/polyfills.js:12618:26)
at Object.onInvoke (http://localhost:4200/vendor.js:74098:33)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (http://localhost:4200/polyfills.js:12617:52)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.run (http://localhost:4200/polyfills.js:12377:43)
at NgZone.push../node_modules/@angular/core/fesm5/core.js.NgZone.run (http://localhost:4200/vendor.js:74012:28)
at PlatformRef.push../node_modules/@angular/core/fesm5/core.js.PlatformRef.bootstrapModuleFactory (http://localhost:4200/vendor.js:74588:23)
at http://localhost:4200/vendor.js:74631:59
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (http://localhost:4200/polyfills.js:12618:26)
Hi,
I have downgrade the Angular version to 8.0.0 and I had deleted this yarn.lock and try with the yarn and still getting the same error .
Hi, have done all the possibilities which you(@Maliming) define above to resolve the error and also downgrade to the V8.0.0.. But didn't get any success. Any update ?
@maliming I have mailed you please check ...
@maliming
I haven't downgraded the project .. I just downgrade the Angular CLI to the 8.0.0. And you can see in the package JSON file its v8.0.0 is there. The error is not related to the version its shows that property has no to value so given error. you should troubleshoot that. :)
Thanks
@maliming
If you resolved the issue then can you please send me the code on my email
Hi, While using the Power tool I have Created the entity and In angular project the service methods & Dto classes are not created in Service-Proxies.ts. Can you please help me ASAP?
I have Downloded Powew tool from here "https://marketplace.visualstudio.com/items?itemName=Volosoft.AspNetZeroPowerTools"
Angular V : 8.0.0 Asp.net core V: 2.2
After Doing the above the Process
@yekalkan
From where can I run this file can you please suggest ? I have open this angular project in visual code and core api In visual studio.
Kindly provide me steps fro that.
I double click on refresh.bat file and seems its not updating the Service-Proxies.ts file. When I open that refresh.bat file the path is "..\node_modules.bin\nswag" but when I find nswag on this path the file or some exe are not in node_modules.bin . Is this any application to add this file in folder or somthing else?
There is root position -> where root & administrator option is coming.
Can you please guide us from where we can add new options into that list?