You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
An issue is present when I use "enablePerformanceProfiler" with new commonEngine in server.ts file to show the SSR performance with an application build in prerender SSG.
This error show when I have routes not prerender and just SSR version of my page. This error return a status error 500 when I use a simulator of crawl like Screaming Frog SEO spider.
Minimal Reproduction
ng build application with configuration angular.json with prerender RoutesFiles options and discoverRoutes False.
serve application in SSR (node dist/PROJECT_NAME/server/server.mjs)
refresh page who hasn't prerender route or use a simulator of crawl like Screaming Frog SEO spider
Exception or Error
SyntaxError:
The "start: Retrieve SSG Page" performance mark has not been set
at new DOMException (node: internal/per context/domexception: 53:5)
at _node_internal (node: Internal/utiT: 670:10) at getMark (node: internal/perf/usertiming:58:11)
at calculateStartDuration (node: internal/perf/usertiming: 142:13)
at Performance. measure (node: internal/perf/usertiming: 160:7)
I'm sorry, but we can't reproduce the problem following the instructions you provided.
Remember that we have a large number of issues to resolve, and have only a limited amount of time to reproduce your issue.
Short, explicit instructions make it much more likely we'll be able to reproduce the problem so we can fix it.
A good way to make a minimal repro is to create a new app via ng new repro-app and add the minimum possible code to show the problem. Then you can push this repository to github and link it here.
Command
build, serve
Is this a regression?
The previous version in which this bug was not present was
No response
Description
An issue is present when I use "enablePerformanceProfiler" with new commonEngine in server.ts file to show the SSR performance with an application build in prerender SSG.
This error show when I have routes not prerender and just SSR version of my page. This error return a status error 500 when I use a simulator of crawl like Screaming Frog SEO spider.
Minimal Reproduction
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: