ANZ veriosn 8.3.1 Angular/Core
Forgot Password replies "Invalid email address" to clearly valid email addresses in the AbpUsers and AbpUserAccounts tables. What conditions might be causing this error? What records might be missing or misconfigured in the db?
ANZ v 8.3.1 Angular/Core 3.1
ERROR TypeError: Cannot read properties of undefined (reading 'type')
occurs immediately after login as admin (http://localhost:4200/app/admin/hostDashboard
).
It appears to be caused by abp.notifications.getFormattedMessageFromUserNotification(userNotification);
in the 'format(...)' function in UserNotificationHelper.ts.
Please advise on how to fix. Thank you.
abp.js:355 DEBUG:
abp.js:355 Connected to SignalR server!
abp.js:355 DEBUG:
abp.js:355 Registered to the SignalR server!
core.js:4002 ERROR TypeError: Cannot read properties of undefined (reading 'type')
at Object.abp.notifications.getFormattedMessageFromUserNotification (abp.js:311:1)
at UserNotificationHelper.push../src/app/shared/layout/notifications/UserNotificationHelper.ts.UserNotificationHelper.format (UserNotificationHelper.ts:71:37)
at header-notifications.component.ts:41:70
at arrayEach (lodash.js:516:1)
at Function.forEach (lodash.js:9342:1)
at SafeSubscriber._next (header-notifications.component.ts:40:22)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:192:1)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next (Subscriber.js:130:1)
at Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next (Subscriber.js:76:1)
at Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:53:1)
defaultErrorLogger @ core.js:4002
push../node_modules/@angular/core/fesm5/core.js.ErrorHandler.handleError @ core.js:4050
next @ core.js:26758
schedulerFn @ core.js:23734
push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub @ Subscriber.js:192
push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next @ Subscriber.js:130
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next @ Subscriber.js:76
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
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:23718
(anonymous) @ core.js:26277
ZoneDelegate.invoke @ zone.js:396
Zone.run @ zone.js:153
push../node_modules/@angular/core/fesm5/core.js.NgZone.runOutsideAngular @ core.js:26214
onHandleError @ core.js:26277
ZoneDelegate.handleError @ zone.js:400
Zone.runTask @ zone.js:201
ZoneTask.invokeTask @ zone.js:513
ZoneTask.invoke @ zone.js:502
timer @ zone.js:3041
setTimeout (async)
scheduleTask @ zone.js:3062
ZoneDelegate.scheduleTask @ zone.js:417
onScheduleTask @ zone.js:304
ZoneDelegate.scheduleTask @ zone.js:410
Zone.scheduleTask @ zone.js:241
Zone.scheduleMacroTask @ zone.js:264
scheduleMacroTaskWithCurrentZone @ zone.js:1192
(anonymous) @ zone.js:3075
proto.<computed> @ zone.js:1510
hostReportError @ hostReportError.js:3
push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub @ Subscriber.js:200
push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next @ Subscriber.js:130
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next @ Subscriber.js:76
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next @ Subscriber.js:76
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber.notifyNext @ mergeMap.js:84
push../node_modules/rxjs/_esm5/internal/InnerSubscriber.js.InnerSubscriber._next @ InnerSubscriber.js:15
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber.notifyNext @ mergeMap.js:84
push../node_modules/rxjs/_esm5/internal/InnerSubscriber.js.InnerSubscriber._next @ InnerSubscriber.js:15
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
(anonymous) @ subscribeToArray.js:5
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable._trySubscribe @ Observable.js:43
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe @ Observable.js:29
subscribeToResult @ subscribeToResult.js:13
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._innerSub @ mergeMap.js:74
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext @ mergeMap.js:68
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._next @ mergeMap.js:51
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
reader.onload @ service-proxies.ts:26908
ZoneDelegate.invoke @ zone.js:396
onInvoke @ core.js:26255
ZoneDelegate.invoke @ zone.js:395
Zone.runGuarded @ zone.js:164
(anonymous) @ zone.js:147
load (async)
set @ zone.js:1449
(anonymous) @ service-proxies.ts:26907
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable._trySubscribe @ Observable.js:43
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe @ Observable.js:29
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapOperator.call @ mergeMap.js:29
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe @ Observable.js:24
subscribeToResult @ subscribeToResult.js:13
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._innerSub @ mergeMap.js:74
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext @ mergeMap.js:68
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._next @ mergeMap.js:51
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
push../node_modules/rxjs/_esm5/internal/operators/filter.js.FilterSubscriber._next @ filter.js:38
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber.notifyNext @ mergeMap.js:84
push../node_modules/rxjs/_esm5/internal/InnerSubscriber.js.InnerSubscriber._next @ InnerSubscriber.js:15
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
push../node_modules/rxjs/_esm5/internal/operators/switchMap.js.SwitchMapSubscriber.notifyNext @ switchMap.js:72
push../node_modules/rxjs/_esm5/internal/InnerSubscriber.js.InnerSubscriber._next @ InnerSubscriber.js:15
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
push../node_modules/rxjs/_esm5/internal/operators/map.js.MapSubscriber._next @ map.js:41
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
reader.onload @ abpHttpInterceptor.js:158
ZoneDelegate.invoke @ zone.js:396
onInvoke @ core.js:26255
ZoneDelegate.invoke @ zone.js:395
Zone.runGuarded @ zone.js:164
(anonymous) @ zone.js:147
load (async)
set @ zone.js:1449
(anonymous) @ abpHttpInterceptor.js:157
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable._trySubscribe @ Observable.js:43
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe @ Observable.js:29
push../node_modules/rxjs/_esm5/internal/operators/map.js.MapOperator.call @ map.js:18
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe @ Observable.js:24
subscribeToResult @ subscribeToResult.js:13
push../node_modules/rxjs/_esm5/internal/operators/switchMap.js.SwitchMapSubscriber._innerSub @ switchMap.js:51
push../node_modules/rxjs/_esm5/internal/operators/switchMap.js.SwitchMapSubscriber._next @ switchMap.js:41
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next @ Subscriber.js:76
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
onLoad @ http.js:1681
ZoneDelegate.invokeTask @ zone.js:431
onInvokeTask @ core.js:26246
ZoneDelegate.invokeTask @ zone.js:430
Zone.runTask @ zone.js:198
ZoneTask.invokeTask @ zone.js:513
invokeTask @ zone.js:1671
globalZoneAwareCallback @ zone.js:1708
load (async)
customScheduleGlobal @ zone.js:1810
ZoneDelegate.scheduleTask @ zone.js:417
onScheduleTask @ zone.js:304
ZoneDelegate.scheduleTask @ zone.js:410
Zone.scheduleTask @ zone.js:241
Zone.scheduleEventTask @ zone.js:267
(anonymous) @ zone.js:1984
(anonymous) @ http.js:1767
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable._trySubscribe @ Observable.js:43
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe @ Observable.js:29
push../node_modules/rxjs/_esm5/internal/operators/catchError.js.CatchOperator.call @ catchError.js:18
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe @ Observable.js:24
push../node_modules/rxjs/_esm5/internal/operators/switchMap.js.SwitchMapOperator.call @ switchMap.js:19
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe @ Observable.js:24
subscribeToResult @ subscribeToResult.js:13
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._innerSub @ mergeMap.js:74
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext @ mergeMap.js:68
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._next @ mergeMap.js:51
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
(anonymous) @ subscribeToArray.js:5
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable._trySubscribe @ Observable.js:43
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe @ Observable.js:29
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapOperator.call @ mergeMap.js:29
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe @ Observable.js:24
push../node_modules/rxjs/_esm5/internal/operators/filter.js.FilterOperator.call @ filter.js:15
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe @ Observable.js:24
push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapOperator.call @ mergeMap.js:29
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe @ Observable.js:24
push../node_modules/rxjs/_esm5/internal/operators/catchError.js.CatchOperator.call @ catchError.js:18
push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe @ Observable.js:24
push../src/app/shared/layout/notifications/header-notifications.component.ts.HeaderNotificationsComponent.loadNotifications @ header-notifications.component.ts:37
push../src/app/shared/layout/notifications/header-notifications.component.ts.HeaderNotificationsComponent.ngOnInit @ header-notifications.component.ts:28
checkAndUpdateDirectiveInline @ core.js:21096
checkAndUpdateNodeInline @ core.js:29494
checkAndUpdateNode @ core.js:29456
debugCheckAndUpdateNode @ core.js:30090
debugCheckDirectivesFn @ core.js:30050
eval @ TopBarComponent.html:57
debugUpdateDirectives @ core.js:30042
checkAndUpdateView @ core.js:29438
callViewAction @ core.js:29679
execComponentViewsAction @ core.js:29621
checkAndUpdateView @ core.js:29444
callViewAction @ core.js:29679
execComponentViewsAction @ core.js:29621
checkAndUpdateView @ core.js:29444
callViewAction @ core.js:29679
execEmbeddedViewsAction @ core.js:29642
checkAndUpdateView @ core.js:29439
callViewAction @ core.js:29679
execComponentViewsAction @ core.js:29621
checkAndUpdateView @ core.js:29444
callViewAction @ core.js:29679
execEmbeddedViewsAction @ core.js:29642
checkAndUpdateView @ core.js:29439
callViewAction @ core.js:29679
execComponentViewsAction @ core.js:29621
checkAndUpdateView @ core.js:29444
callWithDebugContext @ core.js:30308
debugCheckAndUpdateView @ core.js:30010
push../node_modules/@angular/core/fesm5/core.js.ViewRef_.detectChanges @ core.js:20685
push../node_modules/@angular/core/fesm5/core.js.ApplicationRef.tick @ core.js:27108
(anonymous) @ core.js:26997
ZoneDelegate.invoke @ zone.js:396
onInvoke @ core.js:26255
ZoneDelegate.invoke @ zone.js:395
Zone.run @ zone.js:153
push../node_modules/@angular/core/fesm5/core.js.NgZone.run @ core.js:26169
next @ core.js:26997
schedulerFn @ core.js:23734
push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub @ Subscriber.js:192
push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next @ Subscriber.js:130
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next @ Subscriber.js:76
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53
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:23718
checkStable @ core.js:26224
onHasTask @ core.js:26268
ZoneDelegate.hasTask @ zone.js:451
ZoneDelegate._updateTaskCount @ zone.js:472
Zone._updateTaskCount @ zone.js:294
Zone.runTask @ zone.js:215
drainMicroTaskQueue @ zone.js:611
Promise.then (async)
scheduleMicroTask @ zone.js:594
ZoneDelegate.scheduleTask @ zone.js:420
onScheduleTask @ zone.js:304
ZoneDelegate.scheduleTask @ zone.js:410
Zone.scheduleTask @ zone.js:241
Zone.scheduleMicroTask @ zone.js:261
scheduleResolveOrReject @ zone.js:884
resolvePromise @ zone.js:830
(anonymous) @ zone.js:750
webpackJsonpCallback @ bootstrap:25
(anonymous) @ app-admin-admin-module.js:1
Show 109 more frames
ANZ version 10.0.0 (plus migrated app files) Angular/.NET 5
in .../angular/nswag 'refresh'
causes 'service-proxies.ts' to define duplicate imports of luxon, which causes a compile error.
import { DateTime } from 'luxon';
import { mergeMap as _observableMergeMap, catchError as _observableCatch } from 'rxjs/operators';
import { Observable, throwError as _observableThrow, of as _observableOf } from 'rxjs';
import { Injectable, Inject, Optional, InjectionToken } from '@angular/core';
import { HttpClient, HttpHeaders, HttpResponse, HttpResponseBase } from '@angular/common/http';
import { DateTime, Duration } from "luxon";
What might be the cause of this?
ANZ 8.4.0 Angular/.net core
npm start
on version 8.4.0 produces the following error:
C:\Users\Tim\Documents\__ngTTMv840\ngTTM\angular>npm start
> [email protected] start
> gulp buildDev && ng serve --host 0.0.0.0 --port 4200
[21:51:31] Using gulpfile ~\Documents\__ngTTMv840\ngTTM\angular\gulpfile.js
[21:51:31] Starting 'buildDev'...
Dynamic bundles are being created.
[21:51:48] Finished 'buildDev' after 17 s
WARNING: This is a simple server for use in testing or debugging Angular applications
locally. It hasn't been reviewed for security issues.
Binding this server to an open connection can result in compromising your application or
computer. Using a different host than the one passed to the "--host" flag might result in
websocket connection issues. You might need to use "--disableHostCheck" if that's the
case.
10% building 4/4 modules 0 activei 「wds」: Project is running at http://0.0.0.0:4200/webpack-dev-server/
i 「wds」: webpack output is served from /
i 「wds」: 404s will fallback to //index.html
chunk {main} main.js, main.js.map (main) 2.03 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 154 kB [initial] [rendered]
chunk {polyfills-es5} polyfills-es5.js, polyfills-es5.js.map (polyfills-es5) 554 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {scripts} scripts.js, scripts.js.map (scripts) 2.37 MB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 3.56 MB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 347 kB [initial] [rendered]
Date: 2022-01-28T05:52:19.158Z - Hash: 81891f0cb666755672d2 - Time: 20841ms
v: '{' or ';' expected.
2 function assert(value: any, message?: string | Error): asserts value;
~~~~~
../node_modules/@types/node/assert.d.ts:53:68 - error TS1144: '{' or ';' expected.
53 function ok(value: any, message?: string | Error): asserts value;
~~~~~
../node_modules/@types/node/assert.d.ts:62:94 - error TS1144: '{' or ';' expected.
62 function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
~~~~~~
../node_modules/@types/node/assert.d.ts:62:101 - error TS1005: ';' expected.
62 function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
~~
../node_modules/@types/node/assert.d.ts:62:104 - error TS1005: ';' expected.
62 function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
~
../node_modules/@types/node/assert.d.ts:64:98 - error TS1144: '{' or ';' expected.
64 function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
~~~~~~
../node_modules/@types/node/assert.d.ts:64:105 - error TS1005: ';' expected.
64 function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
~~
../node_modules/@types/node/assert.d.ts:64:108 - error TS1005: ';' expected.
64 function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
~
../node_modules/@types/node/assert.d.ts:72:47 - error TS1144: '{' or ';' expected.
72 function ifError(value: any): asserts value is null | undefined;
~~~~~
../node_modules/@types/node/assert.d.ts:72:53 - error TS1005: ';' expected.
72 function ifError(value: any): asserts value is null | undefined;
~~
../node_modules/@types/node/assert.d.ts:72:56 - error TS1005: ';' expected.
72 function ifError(value: any): asserts value is null | undefined;
~~~~
../node_modules/@types/node/assert.d.ts:99:61 - error TS1005: ';' expected.
99 (value: any, message?: string | Error): asserts value;
~~~~~
** Angular Live Development Server is listening on 0.0.0.0:4200, open your browser on http://localhost:4200/ **
i 「wdm」: Failed to compile.
The most puzzling aspect of this error report is the reference to ../node_modules/@types/node/assert.d.ts
. There is no such folder.
package.json
{
"name": "abp-zero-template",
"version": "8.4.0",
"license": "MIT",
"angular-cli": {},
"scripts": {
"ng": "ng",
"publish": "gulp build && ng build --prod",
"start": "gulp buildDev && ng serve --host 0.0.0.0 --port 4200",
"hmr": "gulp buildDev && ng serve --host 0.0.0.0 --port 4200 --hmr",
"test": "gulp buildDev && ng test",
"pree2e": "webdriver-manager update --standalone false --gecko false",
"e2e": "gulp buildDev && protractor",
"create-dynamic-bundles": "gulp buildDev",
"nswag": "cd nswag/ && refresh.bat"
},
"private": false,
"dependencies": {
"@angular/animations": "^8.2.5",
"@angular/cdk": "^8.1.4",
"@angular/common": "^8.2.5",
"@angular/compiler": "^8.2.5",
"@angular/core": "^8.2.5",
"@angular/forms": "^8.2.5",
"@angular/platform-browser": "^8.2.5",
"@angular/platform-browser-dynamic": "^8.2.5",
"@angular/platform-server": "^8.2.5",
"@angular/router": "^8.2.5",
"@fortawesome/fontawesome-pro": "^5.15.1",
"@microsoft/signalr": "^3.1.2",
"@ng-bootstrap/ng-bootstrap": "^5.1.4",
"@nth-cloud/ng-toggle": "6.0.0",
"@swimlane/ngx-charts": "^12.0.1",
"@types/bootstrap": "^4.3.1",
"@types/dwt": "^15.2.3",
"@types/moment": "^2.13.0",
"abp-ng2-module": "^5.1.0",
"abp-web-resources": "^4.2.0",
"adal-angular": "^1.0.17",
"angular-gridster2": "^8.2.0",
"angular-oauth2-oidc": "^8.0.4",
"angular-resizable-element": "3.2.2",
"angular-resize-event": "^1.1.1",
"angular2-counto": "^1.2.5",
"angular2-text-mask": "^9.0.0",
"animate.css": "^3.7.2",
"body-scroll-lock": "^3.0.2",
"ckeditor4-angular": "^2.2.2",
"cookieconsent": "^3.1.1",
"core-js": "^3.3.3",
"dwt": "15.3",
"famfamfam-flags": "^1.0.0",
"file-saver": "^2.0.2",
"js-cookie": "^2.2.1",
"just-compare": "^1.3.0",
"localforage": "^1.7.3",
"lodash": "^4.17.13",
"mathjax": "^3.2.0",
"mathjax-server": "^1.3.1",
"moment": "^2.24.0",
"moment-timezone": "^0.5.27",
"msal": "^1.2.1",
"ng-recaptcha": "^5.0.0",
"ng2-file-upload": "^1.4.0",
"ngx-bootstrap": "^5.2.0",
"ngx-drag-drop": "^2.0.0",
"ngx-filesaver": "^8.1.0",
"ngx-image-cropper": "^1.5.1",
"ngx-perfect-scrollbar": "^8.0.0",
"ngx-spinner": "^8.0.3",
"object-path": "^0.11.4",
"primeflex": "^3.1.2",
"primeicons": "^2.0.0",
"primeng": "8.0.3",
"push.js": "^1.0.12",
"quill": "^1.3.7",
"rtl-detect": "^1.0.2",
"rxjs": "^6.5.3",
"simple-line-icons": "^2.4.1",
"sweetalert2": "^8.18.6",
"text-mask-addons": "^3.8.0",
"typescript": "3.4.5",
"typescript-string-operations": "^1.3.1",
"webdriver-manager": "^12.1.7",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.803.3",
"@angular/cli": "^8.3.3",
"@angular/compiler-cli": "^8.2.5",
"@angularclass/hmr": "^2.1.3",
"@angularclass/hmr-loader": "^3.0.4",
"@types/jasmine": "~3.4.0",
"@types/jasminewd2": "^2.0.8",
"@types/lodash": "^4.14.144",
"@types/moment-timezone": "^0.5.12",
"@types/node": "^12.11.6",
"codelyzer": "^5.2.0",
"gulp": "^4.0.1",
"gulp-clean-css": "^4.2.0",
"gulp-concat": "^2.6.1",
"gulp-less": "^4.0.1",
"gulp-postcss": "^8.0.0",
"gulp-uglify": "^3.0.2",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "^4.2.1",
"karma": "^4.4.1",
"karma-chrome-launcher": "~3.1.0",
"karma-cli": "~2.0.0",
"karma-coverage-istanbul-reporter": "^2.1.0",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"merge-stream": "^2.0.0",
"nswag": "13.0.6",
"postcss-url": "^9.0.0",
"protractor": "~5.4.2",
"ts-node": "~8.3.0",
"tslib": "1.10.0",
"tslint": "~5.19.0",
"typescript": "3.4.5"
}
}
Why would npm report an error in a non-existent file in a non-existent folder?
ANZ ver 8.5.0 (upgrading from 8.4.0) angular/.net Core
Login as host admin. Sometimes the correct nagivation menu and page appears.
Other times the wrong nav menu and page appears.
The correct page or wrong page may (or may not) appear after a 'npm start' or incremental build after minor unrelated source code update. This same behavior is occurring for ver 8.4.0. Deleting localhost cookies has no effect on the outcome. What could be causing this?
ANZ ver 8.5.0 (upgrading from 8.4.0) angular/.net Core
When building from the released 8.5.0 gulp behaves normally.
C:\Users\Tim\Documents\__ngTTMv850\ngTTM\angular>npm start
> [email protected] start
> gulp buildDev && ng serve --host 0.0.0.0 --port 4200
[23:38:28] Using gulpfile ~\Documents\__ngTTMv850\ngTTM\angular\gulpfile.js
[23:38:28] Starting 'buildDev'...
Dynamic bundles are being created.
[23:39:29] Finished 'buildDev' after 1 min
WARNING: This is a simple server for use in testing or debugging Angular applications
locally. It hasn't been reviewed for security issues.
Binding this server to an open connection can result in compromising your application or
computer. Using a different host than the one passed to the "--host" flag might result in
websocket connection issues. You might need to use "--disableHostCheck" if that's the
case.
After migrating most files from 8.4.0 to 8.5.0 there comes a time when the weirdness begins. This error appears:
C:\Users\Tim\Documents\__ngTTMv850\ngTTM\angular>npm start
> [email protected] start
> gulp buildDev && ng serve --host 0.0.0.0 --port 4200
[23:07:42] Using gulpfile ~\Documents\__ngTTMv850\ngTTM\angular\gulpfile.js
[23:07:42] Starting 'buildDev'...
[23:07:42] 'buildDev' errored after 62 ms
[23:07:42] Error: Invalid glob argument:
at Gulp.src (C:\Users\Tim\Documents\__ngTTMv850\ngTTM\angular\node_modules\vinyl-fs\lib\src\index.js:20:11)
at createStyleBundle (C:\Users\Tim\Documents\__ngTTMv850\ngTTM\angular\gulpfile.js:96:23)
at createStyleBundles (C:\Users\Tim\Documents\__ngTTMv850\ngTTM\angular\gulpfile.js:84:13)
at buildDev (C:\Users\Tim\Documents\__ngTTMv850\ngTTM\angular\gulpfile.js:129:22)
at taskWrapper (C:\Users\Tim\Documents\__ngTTMv850\ngTTM\angular\node_modules\undertaker\lib\set-task.js:13:15)
at bound (node:domain:421:15)
at runBound (node:domain:432:12)
at asyncRunner (C:\Users\Tim\Documents\__ngTTMv850\ngTTM\angular\node_modules\async-done\index.js:55:18)
at processTicksAndRejections (node:internal/process/task_queues:78:11)
C:\Users\Tim\Documents\__ngTTMv850\ngTTM\angular>
I backed out the most recent change and the error still appears. I have reverted all the .json files and relevant *.module.ts filess to the original 8.5.0 release, and the error persists. In the past week I have started from scratch 3 times now in an attempt to identify the cause, all without success.
I reviewed issues #7423, #8592, and #8657. They did not contain a solution that worked for me.
Can you suggest what I might look for to be possible causes of this error? And how to recover, short of starting over?
ANZ version 8.4.0 angular/.NET Core
I see
import { Table } from 'primeng/components/table/table';
and
import { Table } from 'primeng/table';
being used interchangable throughout the code base.
Not just 'table', but all primeng component references use one reference method or the other; '/primeng/components/[comp]/[comp]' or 'primeng/[comp]'
ANZ apps build and execute correctly. Does it matter which form is used?
What is the link to detailed release notes shared on the GitHub repository (only available to the customers)?