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
I don’t think this is related to those issues, the reproduction works when updating the local entryPoint paths to use a Node-style relative-path format: https://stackblitz.com/edit/github-d4i7hd-9q5ovs?file=integration.ts (Works as in “loads the entrypoints” — both test files are missing getStaticPaths and will error when visited, but the issue reported here is resolved.)
I think this is probably a documentation issue — the integration API docs show bare paths like in the reproduction, but those will be resolved as npm module names not as local paths.
What version of
astro
are you using?2.8.2
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
yarn
What operating system are you using?
mac
What browser are you using?
chrome
Describe the Bug
What do I check if the
.astro
entryPoint of aninjectRoute
is not resolved? I have another .ts entryPoint that resolves just fine=> error Cannot find module 'src/endpoints/Loader.astro'
What's the expected result?
The dev server shound start and use the Loader.astro entrypoint to handle requests to /test/endpoints/[endpoint]
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-d4i7hd?file=integration.ts
Participation
The text was updated successfully, but these errors were encountered: