Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] What did [kratos run] do? How can ignore the web dir ? #3465

Open
vinoMamba opened this issue Nov 14, 2024 · 1 comment
Open

[Question] What did [kratos run] do? How can ignore the web dir ? #3465

vinoMamba opened this issue Nov 14, 2024 · 1 comment
Labels
question Further information is requested

Comments

@vinoMamba
Copy link

My full-stack project used Next.js and Kratos. I used Next.js as the BFF layer and communicate via GRPC. However, after I downloaded the packages related to proto in the web, I couldn't execute the "kratos run" command.

image
@vinoMamba vinoMamba added the question Further information is requested label Nov 14, 2024
@vinoMamba
Copy link
Author

I have looked the source code of the run command. And found that it exec the go run command. So I entered the cmd dir and exec go run . , service started up successfully. So is it necessary to add an option to ignore some dir to the run command? like:

kratos run --ignore=ignoreDir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant