Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: NG04002 #91

Open
GeoCommander opened this issue May 11, 2024 · 0 comments
Open

RuntimeError: NG04002 #91

GeoCommander opened this issue May 11, 2024 · 0 comments

Comments

@GeoCommander
Copy link

Issue:
after running the storefront some time (30-60 minutes) the following errors show up

at Recognizer.noMatchError (/root/storefront-angular-starter/dist/server/main.js:183:2325692)
at CatchSubscriber.selector (/root/storefront-angular-starter/dist/server/main.js:183:2326067)
at CatchSubscriber.error (/root/storefront-angular-starter/dist/server/main.js:183:2249451)
at MergeMapSubscriber._error (/root/storefront-angular-starter/dist/server/main.js:183:786447)
at MergeMapSubscriber.error (/root/storefront-angular-starter/dist/server/main.js:183:786232)
at ThrowIfEmptySubscriber._error (/root/storefront-angular-starter/dist/server/main.js:183:786447)
at ThrowIfEmptySubscriber.error (/root/storefront-angular-starter/dist/server/main.js:183:786232)
at TakeLastSubscriber._error (/root/storefront-angular-starter/dist/server/main.js:183:786447)
at TakeLastSubscriber.error (/root/storefront-angular-starter/dist/server/main.js:183:786232)
at DefaultIfEmptySubscriber._error (/root/storefront-angular-starter/dist/server/main.js:183:786447) {

code: 4002
}

Node.js v20.13.1

Solution:
I am not an expert but removing " pathMatch: 'full'," from "/scr/app/app.routes.ts" solved the problem for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant