Skip to content

Fix output path for backend client generation#2

Open
Jazzepi wants to merge 1 commit into
encoredev:mainfrom
Jazzepi:main
Open

Fix output path for backend client generation#2
Jazzepi wants to merge 1 commit into
encoredev:mainfrom
Jazzepi:main

Conversation

@Jazzepi

@Jazzepi Jazzepi commented Sep 24, 2024

Copy link
Copy Markdown
  • If you run the gen:local as is, it won't find the frontend directory because it will look relative to the backend/package.json and backend/frontend/app/lib... etc is not a real path. Instead let's step backwards one directory, and then step into the frontend This makes it work for me. I tested with a completely new repo, following the steps, and the gen client step did not work for me without this change.

  * If you run the gen:local as is, it won't find the frontend
    directory because it will look relative to the backend/package.json
    and backend/frontend/app/lib... etc is not a real path. Instead
    let's step backwards one directory, and then step into the frontend
    This makes it work for me. I tested with a completely new
    repo, following the steps, and the gen client step did not work for
    me without this change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant