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
{{ message }}
This repository has been archived by the owner on May 29, 2023. It is now read-only.
I am working on the issue of providing tokens in the server for universal pre-render.
I thought instead of providing the tokens in the server module, it makes sense to use the app module.
I have provided them like below.
You are not supposed to use server side tokens on client side modules, client side works as is because of factories for tokens and uses window.performance.
🐞 Bug report
Description
I am working on the issue of providing tokens in the server for universal pre-render.
I thought instead of providing the tokens in the server module, it makes sense to use the app module.
I have provided them like below.
This seems to lead some where... to an error:
./node_modules/@ng-web-apis/universal/__ivy_ngcc__/fesm2015/ng-web-apis-universal.js:457:9-42 - Error: Module not found: Error: Can't resolve 'perf_hooks' in 'C:\Users\Thabo-Zyberfox\Development\sa-places-web\node_modules\@ng-web-apis\universal\__ivy_ngcc__\fesm2015'
Any ideas how to resolve this error?
Reproduction
http://www.stackblitz.com/...
Expected behavior
Versions
"@ng-web-apis/universal": "^1.12.0",
Angular 13
Additional context
Could be related to issue
Maybe check if it is the browser and provide the window performance?
The text was updated successfully, but these errors were encountered: