-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
Description
Describe the bug
Edge function crashed when trying to access routes with params (i.e: user/:userId). The crash log says: "Error: Reading or writing files with Edge Functions is not supported yet. Visit https://ntl.fyi/edge-functions-filesystem to learn more and tell us about your use cases for file system access.".
All other routes that not include params, (common routes and child routes without params) work as intended.
This regression breaks my entire site as now users cannot verify their account as it is done by a path with params (path: 'activate/:token').
To Reproduce
Steps to reproduce the behavior:
- Create a component.
- Asign it a route with params. (user/:userId). It dosn't matter if you consume the param or if you have withComponentInputBinding(), it always fails.
- Access the route directly with the url (not using the site's navigation).
- See error.
Expected behavior
The server should not crash and I should be directed to the component within user:userId.
Versions
- Angular : 19.0.6
- @netlify/angular-runtime: 2.2.1.
- I did not opt-in to the new render engine and I included netlifyCommonEngineHandler() on my server.ts.