Skip to content

-o parameter not working as expected #45

Description

@Xnyle

Tried the generator and immediately hit a blocker:

If i use -o ../my-gen I can start the server but there is no test client as server cant find the files (cause it somehow adds ../../ to the final search path for the public files which is obv. wrong as they are in ../public relative to the server (index.ts)

But if I instead use -o $(dirname $(pwd))/my-gen (in order to provide an absolute path) then the server won't even start at all, Error: Cannot find module ..../my-gen/build/index.js because no "build" dir is even being generated.

So I'm not sure how -o is even supposed to work or what I need to put there in order to get it working?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions