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
This is forked AnalogJS repo with one simple change. In the analog-app project inside vite.config.ts file I added to prerender array one more path '/shipping'. After that analog, during build (nx build analog-app), started throw an error:
Please provide the exception or error you saw
Prerendering static pages...
shipping
test cookie undefined
ERROR FetchError: [GET] "http://localhost/assets/shipping.json": <no response> fetch failed
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
[cause]: TypeError: fetch failed
at node:internal/deps/undici/undici:13193:13
at _ZoneDelegate.invoke (file:///C:/Users/sergd/code/download/analog/dist/apps/analog-app/ssr/main.server.js:327:158)
at _ZoneImpl.run (file:///C:/Users/sergd/code/download/analog/dist/apps/analog-app/ssr/main.server.js:106:39)
at file:///C:/Users/sergd/code/download/analog/dist/apps/analog-app/ssr/main.server.js:1036:30
at _ZoneDelegate.invokeTask (file:///C:/Users/sergd/code/download/analog/dist/apps/analog-app/ssr/main.server.js:352:171)
at _ZoneImpl.runTask (file:///C:/Users/sergd/code/download/analog/dist/apps/analog-app/ssr/main.server.js:156:41)
at drainMicroTaskQueue (file:///C:/Users/sergd/code/download/analog/dist/apps/analog-app/ssr/main.server.js:507:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
[cause]: AggregateError [ECONNREFUSED]:
at internalConnectMultiple (node:net:1118:18)
at afterConnectMultiple (node:net:1685:7) {
code: 'ECONNREFUSED',
[errors]: [Array]
}
}
}
Other information
I think the problem may be in requestContextInterceptor, but not sure
I would be willing to submit a PR to fix this issue
Yes
No
The text was updated successfully, but these errors were encountered:
Please provide the environment you discovered this bug in.
https://github.com/intelligentRaji/analog/tree/prerender-request-bug
Which area/package is the issue in?
analog-build
Description
This is forked AnalogJS repo with one simple change. In the
analog-app
project insidevite.config.ts
file I added to prerender array one more path'/shipping'
. After that analog, during build (nx build analog-app
), started throw an error:Please provide the exception or error you saw
Other information
I think the problem may be in
requestContextInterceptor
, but not sureI would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: