After adding a new entity using latest RAD tool, running refresh.bat on angular, i get the following error when trying to run the angular site locally:
ERROR Error: Uncaught (in promise): TypeError: __webpack_require__.e is not a function
TypeError: __webpack_require__.e is not a function
at webpackAsyncContext (eval at ./node_modules/@angular/common/locales lazy recursive ^\.\/.*\.js$ (main.bundle.js:6), <anonymous>:4199:29)
at eval (webpack-internal:///./src/root.module.ts:63)
at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:392)
at Object.onInvoke (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4965)
at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:391)
at Zone.run (webpack-internal:///./node_modules/zone.js/dist/zone.js:142)
at eval (webpack-internal:///./node_modules/zone.js/dist/zone.js:844)
at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:425)
at Object.onInvokeTask (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4956)
at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:424)
at webpackAsyncContext (eval at ./node_modules/@angular/common/locales lazy recursive ^\.\/.*\.js$ (main.bundle.js:6), <anonymous>:4199:29)
at eval (webpack-internal:///./src/root.module.ts:63)
at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:392)
at Object.onInvoke (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4965)
at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:391)
at Zone.run (webpack-internal:///./node_modules/zone.js/dist/zone.js:142)
at eval (webpack-internal:///./node_modules/zone.js/dist/zone.js:844)
at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:425)
at Object.onInvokeTask (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4956)
at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:424)
at resolvePromise (webpack-internal:///./node_modules/zone.js/dist/zone.js:795)
at eval (webpack-internal:///./node_modules/zone.js/dist/zone.js:847)
at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:425)
at Object.onInvokeTask (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4956)
at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:424)
at Zone.runTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:192)
at drainMicroTaskQueue (webpack-internal:///./node_modules/zone.js/dist/zone.js:602)
4 Answer(s)
-
0
@Kythor what happens when you comment out the app service (and it's interface) which is newly created ? If it fixes the problem, can you share the app service and it's interface ?
-
0
I have commented out the new service from the angular service-proxies.ts and related modules. compiling is no problem, but as soon as the UI is trying to load, I get the error
ERROR core.js:1448 Error: Uncaught (in promise): TypeError: __webpack_require__.e is not a function core.js:1448 message:"Uncaught (in promise): TypeError: __webpack_require__.e is not a function\nTypeError: __webpack_require__.e is not a function\n at webpackAsyncContext (eval at ./node_modules/@angular/common/locales lazy recursive ^\.\/.*\.js$ (http://localhost:4200/main.bundle.js:6:1), <anonymous>:4199:29)\n at eval (webpack-internal:///./src/root.module.ts:63:117)\n at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:392:26)\n at Object.onInvoke (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4965:33)\n at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:391:32)\n at Zone.run (webpack-internal:///./node_modules/zone.js/dist/zone.js:142:43)\n at eval (webpack-internal:///./node_modules/zone.js/dist/zone.js:844:57)\n at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:425:31)\n at Object.onInvokeTask (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4956:33)\n at ZoneDelegate.invokeTask (webp... promise:ZoneAwarePromise {__zone_symbol__state: 0, __zone_symbol__value: TypeError: __webpack_require__.e is not a function…} rejection:TypeError: __webpack_require__.e is not a function stack:"Error: Uncaught (in promise): TypeError: __webpack_require__.e is not a function\nTypeError: __webpack_require__.e is not a function\n at webpackAsyncContext (eval at ./node_modules/@angular/common/locales lazy recursive ^\.\/.*\.js$ (http://localhost:4200/main.bundle.js:6:1), <anonymous>:4199:29)\n at eval (webpack-internal:///./src/root.module.ts:63:117)\n at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:392:26)\n at Object.onInvoke (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4965:33)\n at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:391:32)\n at Zone.run (webpack-internal:///./node_modules/zone.js/dist/zone.js:142:43)\n at eval (webpack-internal:///./node_modules/zone.js/dist/zone.js:844:57)\n at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:425:31)\n at Object.onInvokeTask (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4956:33)\n at ZoneDelegate.invokeTas... task:ZoneTask {_zone: Zone, runCount: 0, _zoneDelegates: null, …} zone:Zone {_properties: Object, _parent: Zone, _name: "angular", …} __proto__:Object {constructor: , name: "Error", message: "", …}
Can I send you the project files, because this is taking me too much time to figure out, and meanwhile the project is not advancing...
-
0
never mind, after uncommenting the service, it started working.... :shock: :lol:
-
0
it also helps to pointing the angular app to the right, updated, API.....doh.... :oops: :lol: