Wrong template directory lookup when running programmatic generation #1740
Labels
bug
good first issue
This issue could be an easy PR for those looking to help contribute
help wanted
I'm trying to use the programmatic generation in order to leverage my server hot reload and have up-to-date routes and specs when developing. However, I get a strange error when running
generateRoute
.Here is my helper function:
Then in my main
server.ts
I simply call it before everything else:When running my app with node, I get the following error:
It seems the process is trying to lookup a template from by project root instead of the dependency root.
Sorting
I'm submitting a ...
I confirm that I
The text was updated successfully, but these errors were encountered: